| Index: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-1.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow.html b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-1.html
|
| similarity index 54%
|
| copy from third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow.html
|
| copy to third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-1.html
|
| index 65e9c101b58043036e19c5749a4a8954d5c52eb4..869a62cd5732e2ce25564ae3d3594c7832745de8 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-1.html
|
| @@ -28,30 +28,6 @@ function test()
|
| InspectorTest.editNodePartAndRun(node, "webkit-html-attribute", "bar=\"edited attribute\"", done, true);
|
| }
|
| },
|
| -
|
| - function testEditShadowDOMAsHTML(next)
|
| - {
|
| - InspectorTest.domActionTestForNodeId("testEditAuthorShadowDOMAsHTML", "authorShadowDOMElement", testBody, next);
|
| -
|
| - function testBody(node, done)
|
| - {
|
| - var treeOutline = InspectorTest.firstElementsTreeOutline();
|
| - var treeElement = treeOutline.findTreeElement(node);
|
| - treeOutline.toggleEditAsHTML(node);
|
| - InspectorTest.runAfterPendingDispatches(step2);
|
| -
|
| - function step2()
|
| - {
|
| - InspectorTest.addResult(treeElement._editing.codeMirror.getValue());
|
| - treeElement._editing.codeMirror.setValue("<span foo=\"shadow-span\"><span id=\"inner-shadow-span\">Shadow span contents</span></span>");
|
| - var event = InspectorTest.createKeyEvent("Enter");
|
| - event.isMetaOrCtrlForTest = true;
|
| - treeElement._htmlEditElement.dispatchEvent(event);
|
| - InspectorTest.runAfterPendingDispatches(InspectorTest.expandElementsTree.bind(InspectorTest, done));
|
| - }
|
| - }
|
| - }
|
| -
|
| ]);
|
| }
|
|
|
| @@ -64,8 +40,6 @@ Tests that user can mutate author shadow DOM by means of elements panel.
|
| </p>
|
|
|
| <div>
|
| - <div id="testEditAuthorShadowDOMAsHTML"></div>
|
| -
|
| <div id="testSetAuthorShadowDOMElementAttribute"></div>
|
| </div>
|
| <script>
|
| @@ -76,7 +50,6 @@ function createRootWithContents(id, html)
|
| root.innerHTML = html;
|
| }
|
|
|
| -createRootWithContents("testEditAuthorShadowDOMAsHTML", "<div id='authorShadowDOMElement'></div>");
|
| createRootWithContents("testSetAuthorShadowDOMElementAttribute", "<div foo='attribute value' id='shadow-node-to-set-attribute'></div>");
|
| </script>
|
| </body>
|
|
|