blob: ffa10282f6d75166be0a341f309ec5c92bd38cf4 [file] [log] [blame]
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @description
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
main() {
windowEventHandler(_) {
document.getElementById("result").innerHtml = "PASS";
window.addEventListener('load', windowEventHandler, true);
Capturing load event listeners on the window should fire. This test checks if they do.<br>
<span id="result">FAIL</span>
''', treeSanitizer: new NullTreeSanitizer());