OLD | NEW |
1 This test checks that we correctly update the scroll event handler count as even
t handlers are added and removed | 1 This test checks that we correctly update the scroll event handler count as even
t handlers are added and removed |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS window.internals.scrollEventHandlerCount(document) is 0 | 6 PASS window.internals.scrollEventHandlerCount(document) is 0 |
7 PASS window.internals.scrollEventHandlerCount(document) is 1 | 7 PASS window.internals.scrollEventHandlerCount(document) is 1 |
8 PASS window.internals.scrollEventHandlerCount(document) is 2 | 8 PASS window.internals.scrollEventHandlerCount(document) is 2 |
9 PASS window.internals.scrollEventHandlerCount(document) is 1 | 9 PASS window.internals.scrollEventHandlerCount(document) is 1 |
10 PASS window.internals.scrollEventHandlerCount(document) is 1 | 10 PASS window.internals.scrollEventHandlerCount(document) is 1 |
11 PASS window.internals.scrollEventHandlerCount(document) is 0 | 11 PASS window.internals.scrollEventHandlerCount(document) is 0 |
12 PASS window.internals.scrollEventHandlerCount(document) is 0 | 12 PASS window.internals.scrollEventHandlerCount(document) is 0 |
13 PASS window.internals.scrollEventHandlerCount(document) is 1 | 13 PASS window.internals.scrollEventHandlerCount(document) is 1 |
14 PASS window.internals.scrollEventHandlerCount(document) is 1 | 14 PASS window.internals.scrollEventHandlerCount(document) is 1 |
15 PASS window.internals.scrollEventHandlerCount(document) is 0 | 15 PASS window.internals.scrollEventHandlerCount(document) is 0 |
| 16 Test that nested Documents' scroll handlers are properly tracked in their parent
Document. |
| 17 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 18 PASS window.internals.scrollEventHandlerCount(nestedDocument) is 2 |
| 19 PASS window.internals.scrollEventHandlerCount(document) is 2 |
| 20 PASS window.internals.scrollEventHandlerCount(nestedDocument) is 1 |
| 21 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 22 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 23 Test that detaching a nested Document with handlers works properly. |
| 24 PASS window.internals.scrollEventHandlerCount(nestedDocument) is 1 |
| 25 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 26 PASS window.internals.scrollEventHandlerCount(document) is 0 |
| 27 Test moving event listeners from an unattached document to an attached one |
| 28 PASS window.internals.scrollEventHandlerCount(document) is 2 |
| 29 PASS window.internals.scrollEventHandlerCount(document) is 2 |
| 30 PASS window.internals.scrollEventHandlerCount(document) is 0 |
| 31 Test moving event listeners from an attached document to an unattached one |
| 32 PASS window.internals.scrollEventHandlerCount(document) is 2 |
| 33 PASS window.internals.scrollEventHandlerCount(document) is 0 |
| 34 Test moving a scroll event listener between documents belonging to the same page |
| 35 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 36 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 37 PASS window.internals.scrollEventHandlerCount(document) is 0 |
16 PASS successfullyParsed is true | 38 PASS successfullyParsed is true |
17 | 39 |
18 TEST COMPLETE | 40 TEST COMPLETE |
19 | 41 |
| 42 |
OLD | NEW |