Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / navigator-cookieEnabled-no-crash.html
blobf71c950e1daf995d83e26675b313cac08f802867
1 <html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
8 function run_test() {
9 var nav = window.navigator;
10 document.getElementsByTagName("form")[0].submit();
11 nav.cookieEnabled;
13 </script>
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>
20 <div>
21 </body>
22 </html>