chromium/third_party/blink/web_tests/http/tests/security/resources/has-window-events.html

<script>
function finish() {
    // Attribute handler fires after other event handlers - we use this to finish the test.
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<body onload='finish()'></body>