Bug 1689663 - Don't try to run docshell/test/navigation/test_bug1364364.html with SHIP-BFCache, r=peterv

I think this particular test doesn't make much sense in the new implementation.

Differential Revision: https://phabricator.services.mozilla.com/D109961
This commit is contained in:
Olli Pettay 2021-03-30 09:25:41 +00:00
Родитель 8f15f68443
Коммит 0c43e7ec41
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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;