16 lines
386 B
HTML
16 lines
386 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function windowEventHandler() { document.getElementById("result").innerHTML = "PASS!"; }
|
|
window.addEventListener('load', windowEventHandler, true)
|
|
</script>
|
|
</head>
|
|
<body>
|
|
Capturing load event listeners on the window should fire. This test checks if they do.<br>
|
|
<span id="result">FAIL!</span>
|
|
</body>
|
|
</html>
|