-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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] Consider removing innerHTML usage #5902
Comments
You could use |
Thx for letting me know, and indicating that a PR is welcome. Will have a go at creating one some time soon. |
Converting the whole @jeroenheijmans I may have a look on these issues, knowing pretty well that part of the code. |
Okay, thank you for the ping @simonbrunel, I'll hold off for the moment then. Let me know if I can help (e.g. test). |
@jeroenheijmans if Firefox doesn't complain about |
@jeroenheijmans can you build #5909 and verify if it fixes this issue? |
Built that branch and verified my app keeps working as expected, and that the Mozilla add on store doesn't give any warnings anymore. Thanks! |
Expected Behavior
Firefox addons being accepted without warnings around Chart.js.
Current Behavior
Submitting an addon to the Firefox store gives:
When searching through
master
, I get one offending line:Chart.js/src/platforms/platform.dom.js
Lines 187 to 205 in 75aa44e
At first glance this seems to be the same usage in the minified build.
Possible Solution
Unsure, but perhaps there's another way to do the same thing in that line?
Steps to Reproduce (for bugs)
Chart.min.js
as acontent_script
Context
Reviews of such addons tend to take longer, or the addon might even be rejected based on this.
Environment
The text was updated successfully, but these errors were encountered: