fx153: Interface should load with nsIID instead of string (#6008)

This commit is contained in:
windingwind 2026-08-05 20:18:32 +02:00 committed by GitHub
parent 8fb2870f93
commit 09249bfb73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ var { XPCOMUtils } = ChromeUtils.importESModule("resource://gre/modules/XPCOMUti
* This object contains the various functions for the interface
*/
var Zotero_LocateMenu = new function () {
XPCOMUtils.defineLazyServiceGetter(this, "ios", "@mozilla.org/network/io-service;1", "nsIIOService");
XPCOMUtils.defineLazyServiceGetter(this, "ios", "@mozilla.org/network/io-service;1", Ci.nsIIOService);
/**
* Clear and build the locate menu

View file

@ -34,7 +34,7 @@ Zotero.Plugins = new function () {
XPCOMUtils.defineLazyServiceGetters(lazy, {
aomStartup: [
"@mozilla.org/addons/addon-manager-startup;1",
"amIAddonManagerStartup",
Ci.amIAddonManagerStartup,
],
});
var scopes = new Map();

View file

@ -17,7 +17,7 @@ XPCOMUtils.defineLazyServiceGetter(
lazy,
"resProto",
"@mozilla.org/network/protocol;1?name=resource",
"nsIResProtocolHandler"
Ci.nsIResProtocolHandler
);
ChromeUtils.defineESModuleGetters(