commit af6cc45d3f6b2437011c9a71d49be7af9c76f881
parent de49b52ff5f912aa3a7ea7c570ee1aafcde53fa6
Author: Tooru Fujisawa <arai_a@mac.com>
Date: Thu, 30 Oct 2025 21:29:08 +0000
Bug 1997320 - Disable in-memory script cache test on non-nightly. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D270671
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/dom/base/test/browser_script_loader_js_cache.js b/dom/base/test/browser_script_loader_js_cache.js
@@ -220,6 +220,11 @@ add_task(async function testDiskCache() {
});
add_task(async function testMemoryCache() {
+ if (!AppConstants.NIGHTLY_BUILD) {
+ todo(false, "navigation cache is not yet enabled on non-nightly");
+ return;
+ }
+
await SpecialPowers.pushPrefEnv({
set: [
["dom.expose_test_interfaces", true],