Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html

Issue 2372663004: DevTools: Replace multiline InplaceEditor with CodeMirrorTextEditor (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html
index 7cf0be27f28582773d41be5d5c3a0605a6f6c12c..9c7e998dd17d89788e304ed09f6020f66e4f0edb 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html
@@ -32,11 +32,11 @@ function test()
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>");
+ InspectorTest.addResult(treeElement._editing.editorForTest.text());
+ treeElement._editing.editorForTest.setText("<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);
+ treeElement._editing.editorForTest.widget().element.dispatchEvent(event);
InspectorTest.deprecatedRunAfterPendingDispatches(InspectorTest.expandElementsTree.bind(InspectorTest, done));
}
}

Powered by Google App Engine
This is Rietveld 408576698