diff --git a/docshell/test/navigation/file_bug1379762-1.html b/docshell/test/navigation/file_bug1379762-1.html index ce205ad8c5f1..087a33bd1c05 100644 --- a/docshell/test/navigation/file_bug1379762-1.html +++ b/docshell/test/navigation/file_bug1379762-1.html @@ -20,8 +20,7 @@ // Do this async so our load event gets a chance to fire if it plans to // do it. setTimeout(function() { - opener.nextTest(); - window.close(); + opener.finishTest(); }); } }; diff --git a/docshell/test/navigation/mochitest.ini b/docshell/test/navigation/mochitest.ini index c924a15209b8..1022497375ec 100644 --- a/docshell/test/navigation/mochitest.ini +++ b/docshell/test/navigation/mochitest.ini @@ -60,6 +60,7 @@ support-files = file_bug1375833-frame2.html test_bug145971.html file_bug1609475.html + file_bug1379762-1.html [test_aboutblank_change_process.html] [test_bug13871.html] @@ -91,7 +92,6 @@ skip-if = skip-if = fission # bug 1666602 [test_sessionhistory.html] skip-if = toolkit == 'android' || fission # RANDOM on android -support-files = file_bug1379762-1.html [test_dynamic_frame_forward_back.html] [test_sessionhistory_document_write.html] [test_session_history_entry_cleanup.html] @@ -105,6 +105,8 @@ skip-if = fission # It relies on the bfcache skip-if = fission [test_bug1326251.html] skip-if = toolkit == 'android' || fission # It relies on the bfcache +[test_bug1379762.html] +skip-if = fission # It relies on the bfcache [test_sibling-matching-parent.html] [test_sibling-off-domain.html] [test_triggeringprincipal_frame_nav.html] diff --git a/docshell/test/navigation/test_bug1379762.html b/docshell/test/navigation/test_bug1379762.html new file mode 100644 index 000000000000..97d9beca5cbd --- /dev/null +++ b/docshell/test/navigation/test_bug1379762.html @@ -0,0 +1,36 @@ + + + + + Test for Bug 1379762 + + + + +Mozilla Bug 1379762 +

+ +
+  
+
+ + diff --git a/docshell/test/navigation/test_sessionhistory.html b/docshell/test/navigation/test_sessionhistory.html index f0cbcf95e169..9367204b6408 100644 --- a/docshell/test/navigation/test_sessionhistory.html +++ b/docshell/test/navigation/test_sessionhistory.html @@ -24,7 +24,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id= "file_bug462076_2.html", // Dynamic frames when handling onload "file_bug462076_3.html", // Dynamic frames after onload // "file_static_and_dynamic_1.html",// Static and dynamic frames and forward-back - "file_bug1379762-1.html", ]; var testCount = 0; // Used by the test files.