mirror of
https://github.com/zotero/zotero.git
synced 2026-10-12 03:48:16 +00:00
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> |
||
|---|---|---|
| .. | ||
| branding/locale | ||
| mac/chrome/skin/preferences | ||
| unix/skin/preferences | ||
| win/skin/preferences | ||
| application.ini | ||
| chrome.manifest | ||
| commandLineHandler.js | ||
| multilocale.txt | ||
| prefs.js | ||
| updater.ini | ||