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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt

Issue 1498253002: Drop [LegacyInterfaceTypeChecking] for most of Selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years 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 Ensure that collapse with null clears selection 1 Ensure that collapse or setPosition with null throws an exception
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 PASS selection.rangeCount is 1 6 PASS selection.rangeCount is 1
7 PASS selection.rangeCount is 0 7 PASS selection.collapse(null) threw exception TypeError: Failed to execute 'coll apse' on 'Selection': parameter 1 is not of type 'Node'..
8 PASS selection.rangeCount is 1 8 PASS selection.rangeCount is 1
9 PASS selection.rangeCount is 0 9 PASS selection.setPosition(null) threw exception TypeError: Failed to execute 's etPosition' on 'Selection': parameter 1 is not of type 'Node'..
10 PASS selection.rangeCount is 1
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 hello 14 hello
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698