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

Side by Side Diff: LayoutTests/editing/spelling/grammar-edit-word-expected.txt

Issue 39733005: Use asynchronous spellcheck path in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 2 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 Test if WebKit removes grammar markers when we edit a grammatically-incorrect wo rd. To test manually, type a grammatically-incorrect sentence "You has the right ." and type a backspace key to delete the last character of "has". This test suc ceeds when "ha" does not have grammar markers. 1 Test if WebKit removes grammar markers when we edit a grammatically-incorrect wo rd. To test manually, type a grammatically-incorrect sentence "You has the right ." and type a backspace key to delete the last character of "has". This test suc ceeds when "ha" does not have grammar markers.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 document.execCommand("InsertText", false, "You has the right.") 6 PASS internals.hasGrammarMarker(document, 4, 3) became true
7 PASS internals.hasGrammarMarker(document, 4, 3) is true 7 PASS internals.hasGrammarMarker(document, 4, 2) became false
8 Delete the end of this sentence until it becomes "You ha".
9 testRunner.execCommand("DeleteBackward")
10 testRunner.execCommand("DeleteBackward")
11 testRunner.execCommand("DeleteBackward")
12 testRunner.execCommand("DeleteBackward")
13 testRunner.execCommand("DeleteBackward")
14 testRunner.execCommand("DeleteBackward")
15 testRunner.execCommand("DeleteBackward")
16 testRunner.execCommand("DeleteBackward")
17 testRunner.execCommand("DeleteBackward")
18 testRunner.execCommand("DeleteBackward")
19 testRunner.execCommand("DeleteBackward")
20 testRunner.execCommand("DeleteBackward")
21 PASS internals.hasGrammarMarker(document, 4, 2) is false
22 PASS successfullyParsed is true 8 PASS successfullyParsed is true
23 9
24 TEST COMPLETE 10 TEST COMPLETE
25 You ha 11 You ha
26 12
27 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698