| Index: third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-with-slot.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-with-slot.html b/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-with-slot.html
|
| index 5c7d3c47f4ddaa9a9565b4fd841ae37ddd186936..4d476af6ae5f8a2b4c94915af5ca2db32fe1808a 100644
|
| --- a/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-with-slot.html
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/event-deeppath-with-slot.html
|
| @@ -43,7 +43,7 @@ test(function() {
|
| var shadowRoot = host1.shadowRoot;
|
| input1.onfocus = function(e) {
|
| var expected_array1 = [input1, slot1, shadowRoot, host1, document.body, document.documentElement, document, window];
|
| - assert_array_equals(e.deepPath(), expected_array1);
|
| + assert_array_equals(e.composedPath(), expected_array1);
|
| };
|
| input1.focus();
|
| }, 'Triggered in a slotted element, eventPath should go through shadow tree.');
|
| @@ -62,7 +62,7 @@ test(function() {
|
|
|
| input2.onfocus = function(e) {
|
| var expected_array2 = [input2, slot2, slotParent, content, shadowRootV0, host3, shadowRootV1, host2, document.body, document.documentElement, document, window];
|
| - assert_array_equals(e.deepPath(), expected_array2);
|
| + assert_array_equals(e.composedPath(), expected_array2);
|
| };
|
| input2.focus();
|
| }, 'EventPath works fine with v0 insertion points & v1 slots.');
|
| @@ -76,7 +76,7 @@ test(function() {
|
| var inputParent = document.getElementById('input-parent');
|
| input3.onfocus = function(e) {
|
| var expected_array3 = [input3, inputParent, slot3, shadowRoot2, host4, document.body, document.documentElement, document, window];
|
| - assert_array_equals(e.deepPath(), expected_array3);
|
| + assert_array_equals(e.composedPath(), expected_array3);
|
| };
|
| input3.focus();
|
| }, 'EventPath works fine when event happens to a descendant of a slotted element.');
|
|
|