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

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

Issue 1195833002: Selection attributes changes from long to unsigned long (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixes offset error message Created 5 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 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': 4 is larger than the given node's length..
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': 4294967295 is larger than the given node's length..
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 | LayoutTests/editing/selection/selection-invalid-offset.html » ('j') | Source/core/editing/DOMSelection.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698