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>
13 lines
288 B
JSON
13 lines
288 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Plugin Loading Test",
|
|
"version": "1.0",
|
|
"applications": {
|
|
"zotero": {
|
|
"id": "plugin-loading-test@zotero.org",
|
|
"update_url": "https://www.zotero.org/",
|
|
"strict_min_version": "7.0",
|
|
"strict_max_version": "*"
|
|
}
|
|
}
|
|
}
|