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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/event-composed.html

Issue 2056213002: Add tests for retargeted event.target in LayoutTests/shadow-dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@events-1
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/shadow-dom/event-composed-path.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/shadow-dom/event-composed.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-composed.html b/third_party/WebKit/LayoutTests/shadow-dom/event-composed.html
index 33218680b5d76cb731ec9494cf9846f17b542f02..c212aab50cc17e84b711bef19ea03cfd3339b564 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/event-composed.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/event-composed.html
@@ -23,8 +23,8 @@ function assertScoped(event) {
let log = dispatchEventWithLog(nodes, nodes.target, event);
let expectedPath = ['target', 'shadowRoot'];
assert_event_path_equals(log,
- [['target', null, expectedPath],
- ['shadowRoot', null, expectedPath]]);
+ [['target', 'target', null, expectedPath],
+ ['shadowRoot', 'target', null, expectedPath]]);
}
function assertComposed(event) {
@@ -32,9 +32,9 @@ function assertComposed(event) {
let log = dispatchEventWithLog(nodes, nodes.target, event);
let expectedPath = ['target', 'shadowRoot', 'host'];
assert_event_path_equals(log,
- [['target', null, expectedPath],
- ['shadowRoot', null, expectedPath],
- ['host', null, expectedPath]]);
+ [['target', 'target', null, expectedPath],
+ ['shadowRoot', 'target', null, expectedPath],
+ ['host', 'host', null, expectedPath]]);
}
test(() => {
@@ -66,9 +66,9 @@ function assertUAComposed(eventType, callback) {
let log = dispatchUAEventWithLog(nodes, nodes.target, eventType, callback);
let expectedPath = ['target', 'shadowRoot', 'host'];
assert_event_path_equals(log,
- [['target', null, expectedPath],
- ['shadowRoot', null, expectedPath],
- ['host', null, expectedPath]]);
+ [['target', 'target', null, expectedPath],
+ ['shadowRoot', 'target', null, expectedPath],
+ ['host', 'host', null, expectedPath]]);
}
test(() => {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/shadow-dom/event-composed-path.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698