zotero/app
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
..
assets Fix plugin loading on Firefox 153.3 (untrusted URI) (#6058) 2026-10-05 10:51:07 -04:00
linux Remove Linux i686 build support 2026-08-12 16:36:41 -04:00
mac Mac build: Resolve Firefox source path to absolute path 2026-10-01 15:20:19 -04:00
modules Update Word for Mac submodule 2026-09-17 12:24:16 +03:00
scripts Patch libmozglue to prevent local voices from clicking on macOS 27 (#6056) 2026-09-28 11:44:16 -04:00
update-packaging Use curl instead of wget in build scripts 2026-09-26 14:31:03 -04:00
win Use curl instead of wget in build scripts 2026-09-26 14:31:03 -04:00
.gitignore Finish Windows ARM support 2024-05-28 06:44:21 +01:00
build.sh Re-sign Mozilla helper apps in unsigned Mac builds with custom components 2026-09-28 13:56:59 -04:00
config.sh Update Mac launcher and libmozglue for Firefox 153.3.0esr 2026-09-28 13:58:47 -04:00
README.md Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00

Zotero Standalone build utility

These files are used to bundle the Zotero core into distributable bundles for Mac, Windows, and Linux.

Instructions for building and packaging are available on the Zotero wiki.