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-3.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7cff0486dce02faab76084c5c5647d0b48bb13b5..64a997de0bd1a884d499b0da010a039ff159adc9 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.editor.text());
+ treeElement._editing.editor.setText("<div foo=\"bar-comment\">Element</div>");
var event = InspectorTest.createKeyEvent("Enter");
event.isMetaOrCtrlForTest = true;
- treeElement._htmlEditElement.dispatchEvent(event);
+ treeElement._editing.editor.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.editor.text());
+ treeElement._editing.editor.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.editor.widget().element.dispatchEvent(event);
InspectorTest.deprecatedRunAfterPendingDispatches(InspectorTest.expandElementsTree.bind(InspectorTest, done));
}
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698