OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
Rick Byers
2014/05/06 20:54:39
missing expected output for this test
Sami
2014/05/07 10:36:41
Oops, added.
| |
2 <script src="../../resources/js-test.js"></script> | |
3 <script> | |
4 description('Test tracking event handlers with a reused DOMWindow.'); | |
Rick Byers
2014/05/06 20:54:39
can you elaborate on what you mean by "reused DOMW
Sami
2014/05/07 10:36:41
Sure, I've added a comment here:
// |window.open|
Rick Byers
2014/05/07 13:28:21
Fascinating, thanks!
| |
5 | |
6 if (window.testRunner) { | |
7 testRunner.setCanOpenWindows(); | |
8 testRunner.waitUntilDone(); | |
9 } | |
10 | |
11 var newWindow = window.open('resources/conclude-test-in-parent.html'); | |
12 newWindow.onscroll = function() {}; | |
13 | |
14 function concludeTest() { | |
15 shouldBe('window.internals.scrollEventHandlerCount(newWindow.document)', '1' ); | |
16 testRunner.notifyDone(); | |
17 } | |
18 </script> | |
19 </body> | |
OLD | NEW |