OLD | NEW |
(Empty) | |
| 1 Test deleteData() + replaceData() overflow handling. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 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" |
| 8 PASS range.endOffset is 11 |
| 9 PASS textNode = new Text('hello world'); textNode is non-null. |
| 10 PASS textNode.replaceData(6, 0xfffffffe, 'bob'); textNode.data is "hello bob" |
| 11 PASS range.endOffset is 6 |
| 12 PASS textNode = new Text('hello world'); textNode is non-null. |
| 13 PASS textNode.replaceData(6, -1, 'bob'); textNode.data is "hello bob" |
| 14 PASS textNode = new Text('hello world'); textNode is non-null. |
| 15 PASS textNode.replaceData(6, -2, 'bob'); textNode.data is "hello bob" |
| 16 PASS successfullyParsed is true |
| 17 |
| 18 TEST COMPLETE |
| 19 |
OLD | NEW |