stephanmahieu / formhistorycontrol-2

A browser Add-On to View and Manage form history entries (adaptation of v1 for web-extension and e10s)
https://stephanmahieu.github.io/fhc-home
MIT License
51 stars 14 forks source link

sourcemap error in console #149

Closed judos closed 1 year ago

judos commented 2 years ago

Describe the bug I get a sourcemap error everytime I open my angular application i'm developing.

To Reproduce Steps to reproduce the behavior:

  1. Activate plugin
  2. Load Angular application
  3. Look in Console

Source-Map-Fehler: Error: NetworkError when attempting to fetch resource. Ressourcen-Adresse: moz-extension://66868643-4b24-4af1-8c66-6f03efaa9476/common/purify.js Source-Map-Adresse: purify.js.map

Expected behavior No source map errors in console

Screenshots Bildschirmfoto 2022-09-08 um 15 10 59

Desktop:

stephanmahieu commented 1 year ago

That might have something to do with this comment at the bottom of the purify.js file: //# sourceMappingURL=purify.js.map Your developer tools probably picks this up and tries to load this file for debugging purposes only. The map file is not used during normal operation.

Mozilla dictates that third party libraries should be included unaltered so that is why I do not remove this line (a link to the software repository of each 3rd party lib must be provided on submission).

stephanmahieu commented 1 year ago

Fixed in v2.5.7.1, released 18 October.