Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Source map error" message in Console #93

Open
goozak opened this issue Oct 4, 2019 · 4 comments
Open

"Source map error" message in Console #93

goozak opened this issue Oct 4, 2019 · 4 comments

Comments

@goozak
Copy link

goozak commented Oct 4, 2019

Getting this message in the Console:

Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://1e7d8445-959e-4631-b019-6f0a887f1961/browser-polyfill.min.js
Source Map URL: browser-polyfill.min.js.map

I'm not trying to debug Textarea Cache. The extension is working fine, it's just annoying when I work with the Console.

Required:

  • System OS: Windows 10
  • Firefox version: 69.0.1
  • Textarea Cache version: 4.2.1
@goozak
Copy link
Author

goozak commented Oct 4, 2019

Seems to have been a Firefox issue — message no longer appearing in FF 69.0.2...

@goozak goozak closed this as completed Oct 4, 2019
@goozak goozak reopened this Nov 20, 2019
@goozak
Copy link
Author

goozak commented Nov 20, 2019

So, I figured that the error shows up when I'm debugging a local web site, on http://localhost
Unfortunately, that is precisely when I look at the console...

@Kissaki
Copy link

Kissaki commented Nov 10, 2020

Very annoying indeed.

The file at fault is browser-polyfill.min.js, which references browser-polyfill.min.js.map which is not included in the addon.

I also noticed that there is a version mismatch between the src and min files in this repository root - v0.4.0 vs v0.3.1. This has always been the case since they were added in d5370f0.

It looks like both have been added manually.

@drcheap
Copy link

drcheap commented Sep 12, 2022

It's been a couple of years, and this is still an issue. Even more annoying on a page which has an automatic refresh timer :-/

Could it be as simple as just adding in the map file? It can be found here.

Is this polyfill even needed still after the last few years of browser advancement? FWIW see that the official one is up to v0.10.0 now. If not updating, it might be good to at least sync up the version of the minified & original sources as @Kissaki mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants