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/editor/text-editor-ctrl-d-2.html

Issue 2080603008: DevTools: allow codemirror softundo to work on readonly files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing test for preserving readOnly Created 4 years, 6 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/editor/text-editor-ctrl-d-2.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-2.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-2.html
index d328986aa0891217c75ea395d58a18ab7818914b..c229caaeca952b4e5006623eb845ca22763efba4 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-2.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-2.html
@@ -25,12 +25,7 @@ function test()
function nextOccurrence(times)
{
for (var i = 0; i < times; ++i)
- textEditor._selectNextOccurrenceController.selectNextOccurrence();
- }
-
- function undoLastSelection()
- {
- textEditor._selectNextOccurrenceController.undoLastSelection();
+ InspectorTest.fakeKeyEvent(textEditor, "D", ["ctrlKey"]);
}
function lineSelection(line, from, to)

Powered by Google App Engine
This is Rietveld 408576698