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

Side by Side Diff: LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow-expected.txt

Issue 268523002: Merge 171165 "Add CharacterData.deleteData()/replaceData() overf..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1847/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 Test deleteData() + replaceData() overflow handling. 1 Test deleteData() + replaceData() overflow handling.
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 textNode = new Text('chopped off and then some'); textNode is non-null. 6 PASS textNode = new Text('chopped off and then some'); textNode is non-null.
7 PASS textNode.deleteData(11, 0xfffffff7); textNode.data is "chopped off" 7 PASS textNode.deleteData(11, 0xfffffff7); textNode.data is "chopped off"
8 PASS range.endOffset is 11 8 PASS range.endOffset is 11
9 PASS textNode = new Text('hello world'); textNode is non-null. 9 PASS textNode = new Text('hello world'); textNode is non-null.
10 PASS textNode.replaceData(6, 0xfffffffe, 'bob'); textNode.data is "hello bob" 10 PASS textNode.replaceData(6, 0xfffffffe, 'bob'); textNode.data is "hello bob"
11 PASS range.endOffset is 6 11 PASS range.endOffset is 6
12 PASS textNode = new Text('hello world'); textNode is non-null. 12 PASS textNode = new Text('hello world'); textNode is non-null.
13 PASS textNode.replaceData(6, -1, 'bob'); textNode.data is "hello bob" 13 PASS textNode.replaceData(6, -1, 'bob'); textNode.data is "hello bob"
14 PASS textNode = new Text('hello world'); textNode is non-null. 14 PASS textNode = new Text('hello world'); textNode is non-null.
15 PASS textNode.replaceData(6, -2, 'bob'); textNode.data is "hello bob" 15 PASS textNode.replaceData(6, -2, 'bob'); textNode.data is "hello bob"
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow.html ('k') | Source/core/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698