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

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

Issue 817693002: Handle null argument for Selection.selectAllChildren() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 foobar 1 foobar
2 Success: s.anchorNode is [object Text]. 2 PASS s.anchorNode is span1.firstChild
3 Success: s.anchorOffset is 0. 3 PASS s.anchorOffset is 0
4 Success: s.focusNode is [object Text]. 4 PASS s.focusNode is span1.firstChild
5 Success: s.focusOffset is 0. 5 PASS s.focusOffset is 0
6 Success: window.getSelection() is foo. 6 PASS window.getSelection().toString() is "foo"
7 Success: window.getSelection() is foobar. 7 PASS window.getSelection().toString() is "foobar"
8 PASS s.selectAllChildren(null) did not throw exception.
9 PASS s.selectAllChildren(window) did not throw exception.
10 PASS s.selectAllChildren("") did not throw exception.
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/selectAllChildren.html ('k') | Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698