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

Side by Side 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 unified diff | Download patch
OLDNEW
1 This test verifies Ctrl-D functionality, which selects next occurrence of word. 1 This test verifies Ctrl-D functionality, which selects next occurrence of word, and Ctrl-U functionality, which undos the last selection.
2 2
3 function wordData() { 3 function wordData() {
4 return { 4 return {
5 original: $(".entry.original > .input").text(), 5 original: $(".entry.original > .input").text(),
6 translation: $(".entry.translation > .input").text(), 6 translation: $(".entry.translation > .input").text(),
7 tags: $(".active-tags > .tagcloud > .tag").toArray().map(function(value) { return value.textContent; }) 7 tags: $(".active-tags > .tagcloud > .tag").toArray().map(function(value) { return value.textContent; })
8 }; 8 };
9 } 9 }
10 10
11 function submitWord(url) { 11 function submitWord(url) {
(...skipping 19 matching lines...) Expand all
31 31
32 Running: testCaseSensitive 32 Running: testCaseSensitive
33 'word': 2 33 'word': 2
34 34
35 Running: testOccurrencesOnTheSameLine 35 Running: testOccurrencesOnTheSameLine
36 'original': 3 36 'original': 3
37 37
38 Running: testUndoLastAddedSelection 38 Running: testUndoLastAddedSelection
39 'original': 2 39 'original': 2
40 40
41 Running: testUndoAllAddedSelections
42 <Empty string>: 1
43
44 Running: testUndoToPreviousSelectionGroup
45 'original': 1
46
41 Running: testUndoSelectionPreservesFullWordState 47 Running: testUndoSelectionPreservesFullWordState
42 'text': 3 48 'text': 3
43 Last selection: {"startLine":17,"startColumn":42,"endLine":17,"endColumn":46} 49 Last selection: {"startLine":17,"startColumn":42,"endLine":17,"endColumn":46}
44 50
45 Running: testUndoSelectionPreservesPartialSelection 51 Running: testUndoSelectionPreservesPartialSelection
46 'text': 3 52 'text': 3
47 Last selection: {"startLine":4,"startColumn":96,"endLine":4,"endColumn":100} 53 Last selection: {"startLine":4,"startColumn":96,"endLine":4,"endColumn":100}
48 54
49 Running: testTwoCloseWords 55 Running: testTwoCloseWords
50 'text': 4 56 'text': 4
51 57
58 Running: testReadOnlyIsPreserved
59 'original': 2
60
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698