| Index: LayoutTests/inspector/elements/edit-dom-test.js
|
| diff --git a/LayoutTests/inspector/elements/edit-dom-test.js b/LayoutTests/inspector/elements/edit-dom-test.js
|
| index 676d96e594c965f50bc9e032655073fc2a380eed..18af497d867547769800d6cb18ca5e87f7834c59 100644
|
| --- a/LayoutTests/inspector/elements/edit-dom-test.js
|
| +++ b/LayoutTests/inspector/elements/edit-dom-test.js
|
| @@ -14,7 +14,7 @@ InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex
|
|
|
| function testContinuation()
|
| {
|
| - var editorElement = window.getSelection().anchorNode.parentElement;
|
| + var editorElement = WebInspector.panels.elements._treeOutlines[0]._shadowRoot.getSelection().anchorNode.parentElement;
|
| editorElement.textContent = attributeText;
|
| editorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
|
| InspectorTest.addSniffer(WebInspector.ElementsTreeUpdater.prototype, "_updateModifiedNodes", done);
|
|
|