Loading js/xpconnect/tests/unit/test_lazyproxy.js +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * http://creativecommons.org/publicdomain/zero/1.0/ */ /** * This file tests the method defineLazyProxy from XPCOMUtils.jsm. * This file tests the method defineLazyProxy from XPCOMUtils.sys.mjs. */ const {XPCOMUtils} = ChromeUtils.importESModule("resource://gre/modules/XPCOMUtils.sys.mjs"); Loading js/xpconnect/tests/unit/test_xpcomutils.js +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This file tests the methods on XPCOMUtils.jsm. * This file tests the methods on XPCOMUtils.sys.mjs. * Also on ComponentUtils.jsm. Which is deprecated. */ Loading startupcache/StartupCacheUtils.h +4 −4 Original line number Diff line number Diff line Loading @@ -53,10 +53,10 @@ nsresult ResolveURI(nsIURI* in, nsIURI** out); // passed in. // // For example, in the js loader (loaderType = "jsloader"): // resource://gre/modules/XPCOMUtils.jsm or // file://$GRE_DIR/modules/XPCOMUtils.jsm or // jar:file://$GRE_DIR/omni.jar!/modules/XPCOMUtils.jsm becomes // jsloader/resource/gre/modules/XPCOMUtils.jsm // resource://gre/modules/XPCOMUtils.sys.mjs or // file://$GRE_DIR/modules/XPCOMUtils.sys.mjs or // jar:file://$GRE_DIR/omni.jar!/modules/XPCOMUtils.sys.mjs becomes // jsloader/resource/gre/modules/XPCOMUtils.sys.mjs // file://$PROFILE_DIR/extensions/{uuid}/components/component.js becomes // jsloader/$PROFILE_DIR/extensions/%7Buuid%7D/components/component.js // jar:file://$PROFILE_DIR/extensions/some.xpi!/components/component.js becomes Loading Loading
js/xpconnect/tests/unit/test_lazyproxy.js +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * http://creativecommons.org/publicdomain/zero/1.0/ */ /** * This file tests the method defineLazyProxy from XPCOMUtils.jsm. * This file tests the method defineLazyProxy from XPCOMUtils.sys.mjs. */ const {XPCOMUtils} = ChromeUtils.importESModule("resource://gre/modules/XPCOMUtils.sys.mjs"); Loading
js/xpconnect/tests/unit/test_xpcomutils.js +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This file tests the methods on XPCOMUtils.jsm. * This file tests the methods on XPCOMUtils.sys.mjs. * Also on ComponentUtils.jsm. Which is deprecated. */ Loading
startupcache/StartupCacheUtils.h +4 −4 Original line number Diff line number Diff line Loading @@ -53,10 +53,10 @@ nsresult ResolveURI(nsIURI* in, nsIURI** out); // passed in. // // For example, in the js loader (loaderType = "jsloader"): // resource://gre/modules/XPCOMUtils.jsm or // file://$GRE_DIR/modules/XPCOMUtils.jsm or // jar:file://$GRE_DIR/omni.jar!/modules/XPCOMUtils.jsm becomes // jsloader/resource/gre/modules/XPCOMUtils.jsm // resource://gre/modules/XPCOMUtils.sys.mjs or // file://$GRE_DIR/modules/XPCOMUtils.sys.mjs or // jar:file://$GRE_DIR/omni.jar!/modules/XPCOMUtils.sys.mjs becomes // jsloader/resource/gre/modules/XPCOMUtils.sys.mjs // file://$PROFILE_DIR/extensions/{uuid}/components/component.js becomes // jsloader/$PROFILE_DIR/extensions/%7Buuid%7D/components/component.js // jar:file://$PROFILE_DIR/extensions/some.xpi!/components/component.js becomes Loading