3 if (window
.testRunner
) {
4 testRunner
.dumpAsText();
5 testRunner
.waitUntilDone();
9 var nav
= window
.navigator
;
10 document
.getElementsByTagName("form")[0].submit();
14 <body onload=
"run_test()">
15 <form action=
"resources/test-successful-destination.html" method=
"GET"></form>
16 This tests that navigator.cookieEnabled does not crash the browser after
17 the frame navigates away from the original page.
<br>
19 You should not see this page if the test passes.
<br>