| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
|
| index 285e3688d03f1f99203536777b4f9f539146dd83..ec284f2217072f3cb9ae5dde6c7f48850c17d135 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
|
| @@ -16,7 +16,7 @@ function click(path) {
|
| debug('click #' + path);
|
| var clickEvent = document.createEvent("MouseEvents");
|
| clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
| - getNodeInTreeOfTrees(path).dispatchEvent(clickEvent);
|
| + getNodeInComposedTree(path).dispatchEvent(clickEvent);
|
| }
|
|
|
| sandbox.appendChild(
|
| @@ -31,7 +31,7 @@ sandbox.appendChild(
|
| createDOM('shadow', {'id': 'I'})))));
|
|
|
| ['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I'].forEach(function(path) {
|
| - getNodeInTreeOfTrees(path).addEventListener('click', function(event) {
|
| + getNodeInComposedTree(path).addEventListener('click', function(event) {
|
| debug('\nevent.path on node ' + dumpNode(event.currentTarget) + ' (target: ' + dumpNode(event.target) + ')');
|
| debug(dumpNodeList(event.path));
|
| });
|
|
|