Axe-core: [extension] DevTools failed to load SourceMap: Could not load content for browser-polyfill.js.map

Created on 13 Jan 2020  Â·  72Comments  Â·  Source: dequelabs/axe-core

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

extension fix

Most helpful comment

I uninstalled AdBlock and the problem disappear

All 72 comments

Thank you for reporting. We'll look into it.

same issue here

Facing same error

Same for me. At least we should know which debugging reports are on our side, to work on.

We can look into removing source maps for the axe extension, but since it's not breaking functionality we'll have to prioritize it among other issues.

Same Issue here in Brave Browser!!

Same issue here

same here!

Same here

same problem

same problem

same problem

same problem

same problem 🤨

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.

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

just the same

Console Warning:
DevTools failed to load SourceMap: Could not load content for https://www.../themes/core.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

same problem here

I thought that it was my app's bug somewhere

same problem

I uninstalled Pop-up Blocker extension and every thing goes well

Same in Opera

I uninstalled AdBlock and the problem disappear

I uninstalled AdBlock and the problem disappear

good

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.

facing same error

same problem :(

Thanks @scurker

Dapatkan Outlook untuk Androidhttps://aka.ms/ghei36


From: FELIX OMUOK notifications@github.com
Sent: Monday, May 18, 2020 1:00:42 AM
To: dequelabs/axe-core axe-core@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: Re: [dequelabs/axe-core] [extension] DevTools failed to load SourceMap: Could not load content for browser-polyfill.js.map (#1977)

Thanks @scurkerhttps://github.com/scurker

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dequelabs/axe-core/issues/1977#issuecomment-629836854, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALVWM22X2YJXTRZPL7FEMT3RSAQ4VANCNFSM4KF6X34A.

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

This has worked for me -> https://stackoverflow.com/questions/35002087/disable-source-maps-in-chrome-devtools

I removed Zotero chrome extension and the error gone. I think maybe some chrome extension crash with polyfill.js.map

My DevTools can't load the iframe_handler.map chrome extension

Go to the Graph.tsx file and do these changes remove the aggregate set attribute and paste this
" elem.setAttribute('aggregates', JSON.stringify({
stock: 'distinctcount',
top_ask_price: 'avg',
top_bid_price: 'avg',
timestamp: 'distinct count',
}));

"
this will work.

I uninstalled AdBlock and the problem disappear
Yes. this fixed the issue. thanks

I got the same problem, but I removed some of the chrome extensions and then the problem was gone!

Same issue

I just uninstalled AdBlock extension, and the problem is gone!

I just uninstalled AdBlock extension, and the problem is gone!

Yes, i read this and just uninstalled AdBlock and all ok now :D, Thanks very much #jealepive

i tried to uninstall adblock and still doesn't work

I got the same issue with chrome !! but I did empty cache and hard reload to fix it

I'm facing the same as well

Same problem with Chrome Version 83.0.4103.116 (Official Build) (64-bit).

same problem with me ,
DevTools failed to load SourceMap: Could not load content for http://localhost/hello/js/swiper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Same problem with Chrome Version Version 83.0.4103.116 (Official Build) (64-bit)

i changed to firefox, it works fine.

The same problem. Is there any solution related to code changes?
Moving to another browser or blocking some chrome extension are not proper solutions because developer can't make all users do this.

Same problem. Chrome version 83.0.4103.116 (Official Build) (64-bit) on macOS Catalina v.10.15.5.

I disabled LastPass extension on my chrome and cleared my browsing data, and refreshed the page.
That worked for me.

It might be another extension in your own case

same issue encountered

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.

Same Issue here in Brave Browser!!

i am using brave too.

I SOLVED it as follows, momentarily disable your browser extensions, run the project then re-enable them, done.

Same issue here

here same issue too

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

But this will disable these warnings for my browser only. Other browser will face same issue.

same problem

DevTools failed to load SourceMap: Could not load content for webpack:///D:/projectA/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

@ivan-aksamentov
F12 in the browser. then go to Settings.
look for Sources, and disable the option: "Enable javascript source maps"
photo5998800772902531540

same issue too

Thank you for reporting. We'll look into it.

Same Issue here in Brave Browser!!

Hello...This is merely a warning.Go to Console..Setting..uncheack js & css map options

Thank you for reporting. We'll look into it.

Same Issue here in Brave Browser!!

Hello...This is merely a warning.Go to Console..Setting..uncheack js & css map options

It's not an option - how would you debug your transpiled sources??

here is the temp solution - https://github.com/dequelabs/axe-core/issues/1977#issuecomment-657237430
but devtools developers should hide this warning

https://stackoverflow.com/questions/61339968/devtools-failed-to-load-sourcemap-could-not-load-content-for-chrome-extension

these tips do not solve the problem but only remove the symptoms and then crookedly

I can't believe my eyes, people who posted "solution" like "disable the warning", we are greatful!

Hi, Same issue
kiwigym.ro/sanatate-incheieturi/universal-nutrition-animal-flex-44plicuri
DevTools failed to load SourceMap: Could not load content for https://www.kiwigym.ro/modules/revws/views/js/front-1_1_0.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://www.kiwigym.ro/themes/core.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

How can it be solved?
Thanks

Hii same issue

same issue here

'Tho one year later... checking Selected context only under Console in the Dev. Tools Settings has solved it for me.

image

Credit to @Webber > Stack Exchange

Finally a solution I could understand! Thanks so much.

same problem

I uninstalled Pop-up Blocker extension and every thing goes well

Great! Disabled AdBlock plugin for Crome

The team is working on this, but the problem is someone difficult to resolve. I'm going to lock the conversation, with a promise that this will at some point be addressed. If you run into this issue, the solution posted above by @Bahadou-Badr works well:

F12 in the browser. than go to Settings.
look for Sources, and disable the option: "Enable javascript source maps"
photo5998800772902531540

Was this page helpful?
0 / 5 - 0 ratings