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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html

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/scoped-events-by-ua-stopped.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html b/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
index 902ade6c516fdb3d34d47b8e7d2f6e9cc52c8d49..fafa01d3ad32d0eef5ad40fb3e658a632d43db68 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
@@ -40,8 +40,8 @@ var host = getNodeInComposedTree('host');
async_test(function(t) {
target.onselect = function(e) {
t.step(function() {
- assert_true(e.deepPath().includes(target));
- assert_false(e.deepPath().includes(host));
+ assert_true(e.composedPath().includes(target));
+ assert_false(e.composedPath().includes(host));
t.done();
});
}
@@ -50,8 +50,8 @@ async_test(function(t) {
async_test(function(t) {
target.onerror = function(e) {
t.step(function() {
- assert_true(e.deepPath().includes(target));
- assert_true(e.deepPath().includes(host));
+ assert_true(e.composedPath().includes(target));
+ assert_true(e.composedPath().includes(host));
t.done();
});
}

Powered by Google App Engine
This is Rietveld 408576698