Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE html>
2 <head>
3 <title>DOMWindowCreated not visible in content</title>
4 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
5 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
6 <body onload="ok(true, 'Test finished'); SimpleTest.finish();">
7 <p id="display"></p>
9 <script type="application/javascript">
10 SimpleTest.waitForExplicitFinish();
11 window.addEventListener("DOMWindowCreated", function() { ok(false, "DOMWindowCreated should not have fired"); }, false);
13 <iframe src="data:text/plain,Hi"></iframe>