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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-1-expected.txt

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-1-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-1-expected.txt b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-1-expected.txt
index c4379a89902cfb09253703434b680a0b164c85df..9f054569b9b021a316bf4402a1e3293f297142d1 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-1-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-ctrl-d-1-expected.txt
@@ -1,4 +1,4 @@
-This test verifies Ctrl-D functionality, which selects next occurrence of word.
+This test verifies Ctrl-D functionality, which selects next occurrence of word, and Ctrl-U functionality, which undos the last selection.
function wordData() {
return {
@@ -38,6 +38,12 @@ Running: testOccurrencesOnTheSameLine
Running: testUndoLastAddedSelection
'original': 2
+Running: testUndoAllAddedSelections
+<Empty string>: 1
+
+Running: testUndoToPreviousSelectionGroup
+'original': 1
+
Running: testUndoSelectionPreservesFullWordState
'text': 3
Last selection: {"startLine":17,"startColumn":42,"endLine":17,"endColumn":46}
@@ -49,3 +55,6 @@ Last selection: {"startLine":4,"startColumn":96,"endLine":4,"endColumn":100}
Running: testTwoCloseWords
'text': 4
+Running: testReadOnlyIsPreserved
+'original': 2
+

Powered by Google App Engine
This is Rietveld 408576698