blob: f71c950e1daf995d83e26675b313cac08f802867 [file] [log] [blame]
<html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function run_test() {
var nav = window.navigator;
document.getElementsByTagName("form")[0].submit();
nav.cookieEnabled;
}
</script>
<body onload="run_test()">
<form action="resources/test-successful-destination.html" method="GET"></form>
This tests that navigator.cookieEnabled does not crash the browser after
the frame navigates away from the original page. <br>
You should not see this page if the test passes.<br>
<div>
</body>
</html>