This issue is encountered when working with images using OpenCV.js in the Firefox Add-ons.
However, this problem is not available in Firefox(Use Firefox to visit the OpenCV website) as well as in the Chrome plugin.
How do I fix this in the Firefox Add-ons?
ps: Add-ons source code:https://github.com/janet9527/addons-test
And I used https://www.baidu.com/ as a test site for the Add-ons.
The Firefox plugin reported an error:
Use Firefox to visit the OpenCV website:
chrome add-on run success: