Index: third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html |
index 832ccb1aac22afde989f89bed58276a47f1ddca0..4038f4f171b1f173884b505bb829497c145760a8 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html |
@@ -29,13 +29,13 @@ sandbox.appendChild( |
createDOM('content', {'id': 'M'}))))))))); |
['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A/E/', 'A/E/H', 'A/E/I', 'A/E/J', 'A/E/H/', 'A/E/H/L', 'A/E/H/M'].forEach(function(path) { |
- getNodeInTreeOfTrees(path).addEventListener('click', function(event) { |
+ getNodeInComposedTree(path).addEventListener('click', function(event) { |
debug('\nevent.path on node ' + dumpNode(event.currentTarget)); |
debug(dumpNodeList(event.path)); |
}); |
}); |
['B', 'A/E/I'].forEach(function(path) { |
- getNodeInTreeOfTrees(path).addEventListener('click', function(event) { |
+ getNodeInComposedTree(path).addEventListener('click', function(event) { |
debug('\nRemoving node ' + dumpNode(event.currentTarget.firstChild)); |
event.currentTarget.removeChild(event.currentTarget.firstChild); |
}); |