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

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: resize width Created 3 years, 10 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 d61afcc28a76f6856411b73f7e00a3b46f9014e9..148e51023694cfe0ea0cc5da3a3961a34549672a 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.editor.text());
+ treeElement._editing.editor.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.editor.widget().element.dispatchEvent(event);
InspectorTest.deprecatedRunAfterPendingDispatches(InspectorTest.expandElementsTree.bind(InspectorTest, done));
}
}

Powered by Google App Engine
This is Rietveld 408576698