| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <script> | |
| 3 if (window.layoutTestController) { | |
| 4 window.layoutTestController.dumpAsText(); | |
| 5 window.layoutTestController.waitUntilDone(); | |
| 6 } | |
| 7 | |
| 8 function run_test() { | |
| 9 var nav = window.navigator; | |
| 10 document.getElementsByTagName("form")[0].submit(); | |
| 11 nav.cookieEnabled; | |
| 12 window.layoutTestController.notifyDone(); | |
| 13 } | |
| 14 </script> | |
| 15 <body onload="run_test()"> | |
| 16 <form action="about:blank" method="GET"></form> | |
| 17 This test navigator.cookieEnabled does not crash the browser after | |
| 18 the frame navigates away from the original page. <br> | |
| 19 | |
| 20 You should not see this page if the test passes.<br> | |
| 21 <div> | |
| 22 </body> | |
| 23 </html> | |
| OLD | NEW |