Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: LayoutTests/fast/events/scroll-event-handler-count-expected.txt

Issue 237963014: Track scroll event handlers in nested documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: didMove{Into,OutOf}Page Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698