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

Unified 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: Oilpan build fix. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/events/scroll-event-handler-count.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/scroll-event-handler-count-expected.txt
diff --git a/LayoutTests/fast/events/scroll-event-handler-count-expected.txt b/LayoutTests/fast/events/scroll-event-handler-count-expected.txt
index aac2b5ed44fce92957d0617bcd08c57681447771..fd30d402c29e5bc2561b815ecb02ec7ae44af793 100644
--- a/LayoutTests/fast/events/scroll-event-handler-count-expected.txt
+++ b/LayoutTests/fast/events/scroll-event-handler-count-expected.txt
@@ -13,7 +13,32 @@ PASS window.internals.scrollEventHandlerCount(document) is 0
PASS window.internals.scrollEventHandlerCount(document) is 1
PASS window.internals.scrollEventHandlerCount(document) is 1
PASS window.internals.scrollEventHandlerCount(document) is 0
+Test that nested Documents' scroll handlers are properly tracked in their parent Document.
+PASS window.internals.scrollEventHandlerCount(document) is 1
+PASS window.internals.scrollEventHandlerCount(nestedDocument) is 2
+PASS window.internals.scrollEventHandlerCount(document) is 2
+PASS window.internals.scrollEventHandlerCount(nestedDocument) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 1
+Test that detaching a nested Document with handlers works properly.
+PASS window.internals.scrollEventHandlerCount(nestedDocument) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 0
+Test moving event listeners from an unattached document to an attached one
+PASS window.internals.scrollEventHandlerCount(doc) is 0
+PASS window.internals.scrollEventHandlerCount(document) is 0
+PASS window.internals.scrollEventHandlerCount(document) is 2
+PASS window.internals.scrollEventHandlerCount(document) is 2
+PASS window.internals.scrollEventHandlerCount(document) is 0
+Test moving event listeners from an attached document to an unattached one
+PASS window.internals.scrollEventHandlerCount(document) is 2
+PASS window.internals.scrollEventHandlerCount(document) is 0
+Test moving a scroll event listener between documents belonging to the same page
+PASS window.internals.scrollEventHandlerCount(document) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 1
+PASS window.internals.scrollEventHandlerCount(document) is 0
PASS successfullyParsed is true
TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/scroll-event-handler-count.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698