1passwordX sourcemap issue adding warning to Chrome Console
I'm a web dev and use the chrome developer console on a daily basis.
I see a warning message almost each time
DevTools failed to parse SourceMap: /Google/Chrome/Default/Extensions/aeblfdkhhhdcdjpifhhbdiojplfjncoa/1.18.0_0/inline/injected.js.map
I looked it up, and it seems to be coming in from 1passwordX. I can confirm that disabling the extension removes the message. This isn't a big issue, but is a minor inconvenience. I don't see any such warning from any other extension I have installed.
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Hello,
Chrome version 80.0.3987.106
1passwordX version 1.18.0I can verify that this doesn't happen on Windows, only macOS
0 -
@kaitlyn yeah, it's rather strange, but it appears to be an issue on Chrome's end. Here's a screenshot of it happening:
However, one thing to note is turning on "Selected context only" hides the warning. Upon further investigation there's an open issue in Chrome about this warning affecting other extensions - https://bugs.chromium.org/p/chromium/issues/detail?id=1052872
0 -
Absolutely, you can mark this "closed" for now :)
Thank you for your time.
0 -
Also happening on Linux(es).
0 -
Since this is a Chrome issue, it makes sense that it is happening even on Linux. You can find all updates on the issue in the link posted above by as42.
0 -
Also happens in Windows 10. At least for 1Password X 1.18.0 in Chrome 80.0.3987.149 and 1Password X 1.18.1 in Edge 80.0.361.109.
0 -
Also happening on Firefox 74.0 on Fedora Linux.
Source map error: Error: NetworkError when attempting to fetch resource. Resource URL: moz-extension://2940e614-cb73-48f4-9acc-18b2b7c3fb33/inline/injected.js Source Map URL: injected.js.map
The buildinfo reports the following:
moz-extension://2940e614-cb73-48f4-9acc-18b2b7c3fb33/build.info {"buildnum":"20102","builddate":"2020-03-12 16:42:33","buildchannel":"stable","artists":["Dave Teare","Dan Peterson","Mitch Cohen","Andrew Beyer","Jasper Patterson","Jamie Phelps","Dan Kyung","Dalton Downing"]}
And the error makes sense, there is no sourcemap for the injected JS file present:
moz-extension://2940e614-cb73-48f4-9acc-18b2b7c3fb33/inline/ 300: jar:file:///home/leehambley/.mozilla/firefox/rawwty95.default/extensions/%7Bd634138d-c276-4fc8-924b-40a0ea21d284%7D.xpi!/inline/ 200: filename content-length last-modified file-type 201: fonts/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: i18n/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: images/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: injected.js 149720 Thu,%2029%20Nov%201979%2023:00:00%20GMT FILE 201: injected/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: menu/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: notifications/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY 201: save-dialog/ 0 Mon,%2031%20Dec%201979%2023:00:00%20GMT DIRECTORY
0 -
I'm a web developer, so I see this every time I have the developer tools open (all day) as the last thing in my console. It's hugely inconvenient as it's a large error that takes up the lower 1/3 of my developer console.
It doesn't seem to affect 1PassX performance, so no big deal I guess.
0 -
The file
injected.js
has a reference to this missing source map, which causes the warning in Chrome, Firefox, and Edge (chromium).// inline/injected.js ... if (window === window.top) { new TopFrameManager(); } else { new NestedFrameManager(); } }()); //# sourceMappingURL=injected.js.map
The option "Selected context only" will hide this warning, as a work around, but it has some caveats:
- It is not sticky, it has to be selected every time dev tools is opened.
- Other errors/warnings from other contexts are also hidden: API calls to other domains, iframes, etc...
The proper fix for this is fairly straight forward, either include the source map file, or remove the reference to the source map.
The chromium issue has a response marking the problem of "reporting more errors" as WONTFIX. This issue would fall under that category, as the source map is in fact missing, like the warning says.
0 -
I can verify what @skoging is saying in his comment:
The proper fix for this is fairly straight forward, either include the source map file, or remove the reference to the source map.
That should be a very quick and easy fix for the dev team.
For me it was so annoying that i had to try the other extension you are offering (1password), but i found it lacking the auto-comp.
I have to say seeing this error is less annoying than not having the AutoCompletion popups, but still it is.Please fix this!
0