[Pkg-mozext-maintainers] Firefox webext loader seems to refuse to load files from outside of /usr/share/webext
Ximin Luo
infinity0 at debian.org
Fri Feb 22 07:08:00 GMT 2019
The new version of firefox (i.e. from the firefox package, not firefox-esr) seems to avoid loading files from outside of /usr/share/webext.
For example webext-umatrix avoids embedding punycode.js, but instead links to it:
$ ls -gG /usr/share/webext/umatrix/lib/
total 16
drwxr-xr-x 2 4096 Feb 21 22:38 diff/
lrwxrwxrwx 1 30 Aug 6 2011 codemirror -> ../../../javascript/codemirror/
-rw-r--r-- 1 9994 Feb 21 22:21 publicsuffixlist.js
lrwxrwxrwx 1 40 Feb 21 23:04 punycode.js -> ../../../javascript/punycode/punycode.js
This works in firefox-esr but not firefox (65), instead in the Browser Console I get:
Loading failed for the <script> with source “moz-extension://62446e26-cedb-4973-97f8-2dddc4c9d55f/lib/punycode.js”.
Any advice on how to work around this?
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-mozext-maintainers
mailing list