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 Moving a scroll event listener between documents should keep it active |
| 28 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 29 PASS window.internals.scrollEventHandlerCount(document) is 1 |
| 30 PASS window.internals.scrollEventHandlerCount(document) is 0 |
16 PASS successfullyParsed is true | 31 PASS successfullyParsed is true |
17 | 32 |
18 TEST COMPLETE | 33 TEST COMPLETE |
19 | 34 |
OLD | NEW |