-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make this addon compatible with Firefox #53
Comments
Thanks, I'll test it in the next days. |
That's interesting, do you know if there is any open issue on
👍 |
@vrde I consider it a Firefox bug that it should be fixed in the WebExtensions internals (I mean a library that redefines a native object should not be able to break the extension messaging APIs in a content script, especially by providing a very "not helpful" error message), and I'm going to look a bit deeper into it and file a bug on bugzilla. Nevertheless, I was wondering why |
Any news for the support? |
everybody was busy, but will completed soon. |
PR in #55 |
stable and also the revision process is not accepted smoothly. |
I haven't debugged it completely, but mainly the bug is in the management of Promise prototype of core-js. WebExtension APIs in Firefox are promise-based but core-js has its own implementation of Promise. This breaks everything. The solution is something like that:
Or probably, better, don't include core-js/es6 because chrome and firefox are both es6.
I haven't checked if this breaks the addon for chrome.
I would like to thanks @rpl, who actually found the solution.
The text was updated successfully, but these errors were encountered: