diff --git a/docshell/test/navigation/mochitest.ini b/docshell/test/navigation/mochitest.ini index 5cb9d9f8c144..0355ed864fdb 100644 --- a/docshell/test/navigation/mochitest.ini +++ b/docshell/test/navigation/mochitest.ini @@ -95,7 +95,7 @@ skip-if = toolkit == "android" || toolkit == "windows" # disabled on Windows bec [test_bug430723.html] skip-if = (!debug && (os == 'mac' || os == 'win')) # Bug 874423 [test_bug1364364.html] -skip-if = (os == "android") || fission # Bug 1560378, bug 1666449 +skip-if = (os == "android") # Bug 1560378 [test_bug1375833.html] [test_bug1536471.html] support-files = file_bug1536471.html diff --git a/docshell/test/navigation/test_bug1364364.html b/docshell/test/navigation/test_bug1364364.html index b237e5339f89..04decf681561 100644 --- a/docshell/test/navigation/test_bug1364364.html +++ b/docshell/test/navigation/test_bug1364364.html @@ -14,6 +14,15 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1364364 let testWin, testDoc; async function test() { SimpleTest.waitForExplicitFinish(); + if (SpecialPowers.Services.appinfo.fissionAutostart) { + // This test relies on the possibility to modify the bfcached document. + // The new implementation is more restricted and thus works only + // when the bfcached browsing context is the only top level one + // in the browsing context group. + ok(true, "This test is for the old bfcache implementation only."); + SimpleTest.finish(); + return; + } testWin = window.open("file_bug1364364-1.html"); await waitForLoad(testWin); testDoc = testWin.document;