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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.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-3.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.html b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.html
index e3effe0c51b09d772e6aae2e894e718df45507ff..d401f902e8c594cc2a6bee9b131cc646c008d052 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.html
@@ -43,11 +43,11 @@ function test()
function step2()
{
- InspectorTest.addResult(treeElement._editing.codeMirror.getValue());
- treeElement._editing.codeMirror.setValue("<div foo=\"bar-comment\">Element</div>");
+ InspectorTest.addResult(treeElement._editing.editorForTest.text());
+ treeElement._editing.editorForTest.setText("<div foo=\"bar-comment\">Element</div>");
var event = InspectorTest.createKeyEvent("Enter");
event.isMetaOrCtrlForTest = true;
- treeElement._htmlEditElement.dispatchEvent(event);
+ treeElement._editing.editorForTest.widget().element.dispatchEvent(event);
InspectorTest.deprecatedRunAfterPendingDispatches(done);
}
}
@@ -66,11 +66,11 @@ function test()
function step2()
{
- InspectorTest.addResult(treeElement._editing.codeMirror.getValue());
- treeElement._editing.codeMirror.setValue("<span foo=\"bar\"><span id=\"inner-span\">Span contents</span></span>");
+ InspectorTest.addResult(treeElement._editing.editorForTest.text());
+ treeElement._editing.editorForTest.setText("<span foo=\"bar\"><span id=\"inner-span\">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