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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-closed-shadowroot-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, 6 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
OLDNEW
1 Event.deepPath() should include only unclosed nodes. 1 Event.composedPath() should include only unclosed nodes.
2 2
3 Dispaching a click event on #target_open, listening on #target_open. 3 Dispaching a click event on #target_open, listening on #target_open.
4 PASS eventPath.length is 9 4 PASS eventPath.length is 9
5 5
6 event.deepPath() for #target_open: 6 event.composedPath() for #target_open:
7 #target_open, #open_shadow_in_open_shadow, #inner_open, #open_shadow, #host_open , [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [ob ject Window], length: 9 7 #target_open, #open_shadow_in_open_shadow, #inner_open, #open_shadow, #host_open , [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [ob ject Window], length: 9
8 8
9 Dispaching a click event on #target_closed, listening on #target_closed. 9 Dispaching a click event on #target_closed, listening on #target_closed.
10 PASS eventPath.length is 9 10 PASS eventPath.length is 9
11 11
12 event.deepPath() for #target_closed: 12 event.composedPath() for #target_closed:
13 #target_closed, #open_shadow_in_closed_shadow, #inner_closed, #closed_shadow, #h ost_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocu ment], [object Window], length: 9 13 #target_closed, #open_shadow_in_closed_shadow, #inner_closed, #closed_shadow, #h ost_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocu ment], [object Window], length: 9
14 14
15 Dispaching a click event on #target_open, listening on document.body. 15 Dispaching a click event on #target_open, listening on document.body.
16 PASS eventPath.length is 9 16 PASS eventPath.length is 9
17 17
18 event.deepPath() for #target_open: 18 event.composedPath() for #target_open:
19 #target_open, #open_shadow_in_open_shadow, #inner_open, #open_shadow, #host_open , [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [ob ject Window], length: 9 19 #target_open, #open_shadow_in_open_shadow, #inner_open, #open_shadow, #host_open , [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDocument], [ob ject Window], length: 9
20 20
21 Dispaching a click event on #target_closed, listening on document.body. 21 Dispaching a click event on #target_closed, listening on document.body.
22 PASS eventPath.length is 5 22 PASS eventPath.length is 5
23 23
24 event.deepPath() for #target_closed: 24 event.composedPath() for #target_closed:
25 #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDo cument], [object Window], length: 5 25 #host_closed, [object HTMLBodyElement], [object HTMLHtmlElement], [object HTMLDo cument], [object Window], length: 5
26 PASS successfullyParsed is true 26 PASS successfullyParsed is true
27 27
28 TEST COMPLETE 28 TEST COMPLETE
29 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698