Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / events / window-load-capture.html
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5     testRunner.dumpAsText();
6
7 function windowEventHandler() { document.getElementById("result").innerHTML = "PASS!"; }
8 window.addEventListener('load', windowEventHandler, true)
9 </script>
10 </head>
11 <body>
12 Capturing load event listeners on the window should fire. This test checks if they do.<br>
13 <span id="result">FAIL!</span>
14 </body>
15 </html>