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

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

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 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 foobarbaz 1 foobarbaz
2 Success: window.getSelection() is ar. 2 Success: window.getSelection() is ar.
3 Success: s.extend(span2.firstChild, 4) raised IndexSizeError: Failed to execute 'extend' on 'Selection': 4 is larger than the given node's length.. 3 Success: s.extend(span2.firstChild, 4) raised IndexSizeError: Failed to execute 'extend' on 'Selection': The offset 4 is larger than or equal to the node's leng th (3)..
4 Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Failed to execute 'extend' on 'Selection': -1 is not a valid offset.. 4 Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Failed to execute 'extend' on 'Selection': -1 is not a valid offset..
5 Success: window.getSelection() is b. 5 Success: window.getSelection() is b.
6 Success: window.getSelection() is arbaz. 6 Success: window.getSelection() is arbaz.
7 Success: s.extend() raised TypeError: Failed to execute 'extend' on 'Selection': 1 argument required, but only 0 present.. 7 Success: s.extend() raised TypeError: Failed to execute 'extend' on 'Selection': 1 argument required, but only 0 present..
8 Success: s.extend(null, 0) raised TypeError: Failed to execute 'extend' on 'Sele ction': parameter 1 is not of type 'Node'.. 8 Success: s.extend(null, 0) raised TypeError: Failed to execute 'extend' on 'Sele ction': parameter 1 is not of type 'Node'..
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698