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

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: Removed dupe call to didRemoveAllEventHandlers. Created 6 years, 8 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 1
19 PASS window.internals.scrollEventHandlerCount(document) is 2
20 PASS window.internals.scrollEventHandlerCount(nestedDocument) is 0
21 PASS window.internals.scrollEventHandlerCount(document) is 1
22 PASS window.internals.scrollEventHandlerCount(document) is 1
16 PASS successfullyParsed is true 23 PASS successfullyParsed is true
17 24
18 TEST COMPLETE 25 TEST COMPLETE
19 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698