commit d7cb62111626afc30629634f818c8b13763d1067
parent 9a5598aee5bc5e7acc8845674c7a037024106e19
Author: iulian moraru <imoraru@mozilla.com>
Date: Thu, 6 Nov 2025 00:04:41 +0200
Revert "Bug 1998419 - Skip using the ScriptPreloader cache when reading in content scripts for newtab. r=home-newtab-reviewers,maxx" for causing bc failures on browser_ext_contentscript_sender_url.js.
This reverts commit bf4417acd315988a33a9d4e2ee5ef77e920124d6.
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/browser/actors/AboutNewTabChild.sys.mjs b/browser/actors/AboutNewTabChild.sys.mjs
@@ -58,10 +58,7 @@ export class AboutNewTabChild extends RemotePageChild {
];
for (let script of scripts) {
- Services.scriptloader.loadSubScriptWithOptions(script, {
- target: this.contentWindow,
- ignoreCache: true,
- });
+ Services.scriptloader.loadSubScript(script, this.contentWindow);
}
} else if (event.type == "unload") {
try {