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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt

Issue 2014173002: Rename Event.deepPath() to Event.composedPath() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert devtools.js Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt b/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt
index a1001fe2183e1d1254e1b0a100ebf43afa2103d9..660d8ae76de03868bf469db1d09a37097628c625 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt
+++ b/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot2-expected.txt
@@ -1,4 +1,4 @@
-Event.deepPath() should include only unclosed nodes.
+Event.composedPath() should include only unclosed nodes.
The full event path should be (length=12):
div#target, #shadow-root (open), div#div3_open, #shadow-root (closed),
div#div2_closed, #shadow-root (open), div#host_open, div#host_closed,
@@ -10,23 +10,23 @@ will be trimmed (length=8).
Dispaching a click event on #target, listening on #host_closed.
-Got event.deepPath() for #host_closed:
+Got event.composedPath() for #host_closed:
#div2_closed, [object ShadowRoot], #host_open, #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [object Window], length: 8
Dispaching a click event on #target, listening on #host_open.
-Got event.deepPath() for #host_open:
+Got event.composedPath() for #host_open:
#div2_closed, [object ShadowRoot], #host_open, #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [object Window], length: 8
Dispaching a click event on #target, listening on #div2_closed.
-Got event.deepPath() for #div2_closed:
+Got event.composedPath() for #div2_closed:
#div2_closed, [object ShadowRoot], #host_open, #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [object Window], length: 8
Dispaching a click event on #target, listening on #div3_open.
-Got event.deepPath() for #div3_open:
+Got event.composedPath() for #div3_open:
#target, [object ShadowRoot], #div3_open, [object ShadowRoot], #div2_closed, [object ShadowRoot], #host_open, #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [object Window], length: 12
Dispaching a click event on #target, listening on #target.
-Got event.deepPath() for #target:
+Got event.composedPath() for #target:
#target, [object ShadowRoot], #div3_open, [object ShadowRoot], #div2_closed, [object ShadowRoot], #host_open, #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [object Window], length: 12
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698