axe-core: [extension] DevTools failed to load SourceMap: Could not load content for browser-polyfill.js.map
Expectation
No console warnings
Actual
The following warning is emitted in dev tools console:
DevTools failed to load SourceMap: Could not load content for
chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/browser-polyfill.js.map
Motivation
As a developer, I expect console output to only contain messages relevant for my app’s development. I love Axe, but I don’t care about its source maps.
Solution
Would it be possible to either strip source map information from releases or to ship the extension with source maps?
Versions
Axe webextension: 4.2.0 Chromium: 81.0.4024.0 on Ubuntu
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 50
- Comments: 73 (6 by maintainers)
I uninstalled AdBlock and the problem disappear
@ivan-aksamentov F12 in the browser. then go to Settings. look for Sources, and disable the option: “Enable javascript source maps”
i tried to uninstall adblock and still doesn’t work
While waiting for a fix, for chrome, you can remove these warning from the console by deactivating Javascript source map in the dev tool as explained here
Thanks for everyone’s feedback on this issue, but having a lot of duplicate comments is not helpful at this time. We are aware of the problem, but it is only an issue with browsers being unable to load a sourcemap that is not bundled with the axe extension and does not affect the functionality of the extension.
Same Issue here in Brave Browser!!
Facing same error
This has worked for me -> https://stackoverflow.com/questions/35002087/disable-source-maps-in-chrome-devtools
I uninstalled Pop-up Blocker extension and every thing goes well
Thank you for reporting. We’ll look into it.
'Tho one year later… checking
Selected context only
under Console in the Dev. ToolsSettings
has solved it for me.Credit to @Webber > Stack Exchange
Small update: I randomly came across Chromium Bug 1052872 as it appears this was an issue introduced in Chrome. It appears they were previously not reporting sourcemap issues, but that combined with chrome not loading
chrome-extension://
urls introduced the problem.I can’t believe my eyes, people who posted “solution” like “disable the warning”, we are greatful!
Solution: https://superuser.com/questions/1523427/google-chrome-devtools-failed-to-parse-sourcemap-chrome-extension/1523842#1523842?newreg=c27cfa9dda0842d69df44e53ec42dfc2
15/08/2020 What i did. i remove unwanted Chrome extensions in url: chrome://extensions/. You may try it because it works for me. You can also identify which chrome extension is causing the error.
I solved it with
pip install ipykernel --upgrade
References: https://ipython.readthedocs.io/en/stable/install/kernel_install.html https://stackoverflow.com/questions/46383177/jupyter-notebook-not-running-code-stuck-on-in/51787616
I got the same issue with chrome !! but I did empty cache and hard reload to fix it
I just uninstalled AdBlock extension, and the problem is gone!
I removed Zotero chrome extension and the error gone. I think maybe some chrome extension crash with polyfill.js.map