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

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

Issue 2710593002: Selection API: collapse(), setBaseAndExtent(), and extend() don't need to have code to check negati… (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': The offset 4 is larger than or equal to the node's leng th (3).. 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': The offset -1 is larger than or equal to the node's le ngth (3)..
tkent 2017/02/21 03:26:44 This message might make you crazy. I'll fix it in
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698