Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Firefox 100 InstallTrigger deprecation warning #20098

Closed
Windvis opened this issue May 25, 2022 · 3 comments
Closed

[Bug] Firefox 100 InstallTrigger deprecation warning #20098

Windvis opened this issue May 25, 2022 · 3 comments

Comments

@Windvis
Copy link
Contributor

Windvis commented May 25, 2022

🐞 Describe the Bug

Starting from Firefox 100 a deprecation warning is shown in the browser console when an Ember app is opened. The InstallTrigger global is deprecated and Ember seems to still use it for browser detection.

More information about the deprecation can be found in the bugzilla issue.

It doesn't seem like they give a clear way forward for the UA Agent detection use-case. I also haven't taken a detailed look at the code yet but it seems that these browser constants are used for working around older browser behaviors which might no longer be relevant with the new browser support policy?

🔬 Minimal Reproduction

  1. Open any Ember application in Firefox 100
  2. Open the dev tools console pane and notice the deprecation warning

🌍 Environment

  • Ember: -
  • Node.js/npm: -
  • OS: -
  • Browser: Firefox 100

➕ Additional Context

https://bugzilla.mozilla.org/show_bug.cgi?id=1754441

@kirtan-desai
Copy link
Contributor

Made a PR for this #20126

@oceaster
Copy link

@kirtan-desai hey sorry for resurrecting this thread but the same issue happens with any GO/WASM app on FireFox as well, and I don't understand what's going on here and I was hoping you might know how to fix this as well, probably the same solution?

@svogt0511
Copy link

svogt0511 commented Jul 18, 2024

I am seeing this in chrome, as well. Chrome Version 126.0.6478.127 (arm64) Ember v4.12.

Looking at my installation, I see that InstallTrigger is used in the latest version of 'terser', which is included in the latest version of ember-cli-terser, so it looks like there is no way to avoid this warning in Ember.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants