feature-queries-manager
feature-queries-manager copied to clipboard
Error: NetworkError when attempting to fetch resource.
Hey,
applies to the included "webextension-polyfill v.0.2.1" in your extension running in Firefox (all recent versions).
This extension constantly displays an error in the devtool console on every pageload 'cos the contained minified file browser-polyfill.js
refers to a source map at the end, that is not available/provided:
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://d16ad6d3-4448-41c4-9f70-77d1f14ed38f/browser-polyfill.js
Source Map URL: browser-polyfill.min.js.map
//# sourceMappingURL=browser-polyfill.min.js.map
First I disabled source maps in dev tools but the error message kept showing up and it took me ages to learn which extension eventually caused this annoyance -- the cryptic UUID wasn't helpful. As much as I like the features the extension provides, I had to disable it for good because the "polution" was getting annoying esp. when I'm testing my own stuff.
I understand that the js file in question is from https://github.com/mozilla/webextension-polyfill and you're redistributing it. I presume you can remove this line from the source in your distribution so it would NO LONGER ask for sourcemaps ?!
Thanks.
same here and agree. It's not the only extension that used this Mozilla Polyfill and they all produce this warning and polute the console.