zotero/app/assets
Thenewmanator15 ba2d6ecee4
Fix plugin loading on Firefox 153.3 (untrusted URI) (#6058)
As of Firefox 153.3.0esr, Services.scriptloader refuses jar:file: and file:
URIs unless allowUnsafeURL is passed (Mozilla bug 1974213), so no plugin
loads: bootstrap.js fails with "Trying to load untrusted URI", then
"Plugin ... is missing bootstrap method 'startup'".

Pass allowUnsafeURL when loading a plugin's bootstrap.js and prefs.js,
and preference pane scripts, and temporarily enable
security.allow_unsafe_subscript_loads, which covers loads from plugin
code outside the bootstrap scope.

Also add a test that installs a fixture plugin that loads a script from its XPI
and sets a default pref.

---------

Co-authored-by: Dan Stillman <dstillman@zotero.org>
2026-10-05 10:51:07 -04:00
..
branding/locale Add support code for Read Aloud (#5355) 2026-03-02 13:00:23 -05:00
mac/chrome/skin/preferences fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
unix/skin/preferences fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
win/skin/preferences fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
application.ini Update Mac and Linux builds to Firefox 153.0esr 2026-08-03 11:48:38 -04:00
chrome.manifest Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
commandLineHandler.js runtests.sh: Add -p option to run a shard of the test files (e.g., -p 2/4) 2026-07-08 10:50:32 -04:00
multilocale.txt Add Tamil locale from Transifex 2024-02-27 07:01:49 -05:00
prefs.js Fix plugin loading on Firefox 153.3 (untrusted URI) (#6058) 2026-10-05 10:51:07 -04:00
updater.ini Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00