Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / window-event-override-no-crash.html
bloba90f933aaf38a73c13166d3b39c8bf86b2303dca
1 <html>
2 <body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 window.event = new Object;
8 var iframe = document.createElement("iframe");
9 document.body.appendChild(iframe);
10 iframe.src = "resources/blank.html";
11 </script>
12 This test ensures that window.event can be set to a meaningless object (and immediately be used internally) without causing a crash.
13 </body>
14 </html>