-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Describe the bug
When I open the browser console on any page in my browser I get warnings about being unable to find source maps for MetaMask's sourcemaps/contentscript.js and sourcemaps/inpage.js.map. It would be great if having MetaMask installed didn't result in an error in my console on every page I load.
To Reproduce
Steps to reproduce the behavior:
- Install MetaMask into Firefox.
- Open console.
- Notice the "source map error" warnings.
Expected behavior
No errors in my console when loading a page with MetaMask injected into it.
Screenshots
N/A
Browser details (please complete the following information):
- OS: Windows 10
- Browser: Firefox
- MetaMask Version: 7.0.1
Additional context
Since this is an extension, the size increase from source maps should not be significant enough to cause any problems, as they aren't loaded on every page load and users are accustomed to extensions having non-zero download times. You may need to make the sourcemaps web accessible, though testing is necessary to figure out whether that is required for Firefox to be able to fetch a source map.