dequelabs / axe-firefox-devtools

Integration of axe-core into the Firefox developer tools
17 stars 6 forks source link

"TypeError: NetworkError when attempting to fetch resource" => Source Map URL: browser-polyfill.js.map #57

Open jnachtigall opened 6 years ago

jnachtigall commented 6 years ago

This really otherwise really nice add-on pollutes my Console ;) with a NetworkError message: image

Also note that the axe add-on is absent in these cases from the DevTools tab panel. So I guess it can also not be initialized in these cases.

You can see the error at https://jnachtigall.github.io/bp/bp.html (a otherwise totally unrelated project).

FWIW, I used Firefox Nightly 59.0a1 (2017-11-26) (64-bit) on Windows 10, but this should matter here.

mikoMK commented 6 years ago

I can confirm this error. However in my case the "aXe" tab is still visible, accessible and operational. Firefox Developer Edition 59.0b11 (64-Bit) on Windows 10

jnachtigall commented 6 years ago

Yes, "aXe" still works, but the warning is very annoying when using the DevTools. So annoying that I always disable aXe and always reinstall on point when I need it ;)

mikoMK commented 6 years ago

Ah sorry. So I misunderstood your initial message. I thought your panel is absent because of the issue :-)

mtelgkamp commented 6 years ago

Please remove the last line in browser-polyfill.js to prevent this warning.

axe-firefox-devtools_issues_57.patch.txt

jnachtigall commented 6 years ago

@mtelgkamp Or alternatively, add this source map file to the repo. You think you could send in a PR?

dylanb commented 6 years ago

@marcysutton @wilco seems like a small change that we could make to fix this?

marcysutton commented 6 years ago

We don't want to modify the polyfill as it gets downloaded from Mozilla. Instead, we've added a copy task to our build system to include the sourcemap. It will be fixed internally and published in a future update.