OLD | NEW |
| (Empty) |
1 Tests that CharacterData.appendData() argument is mandatory. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS text.data is "abcd" | |
7 PASS text.__proto__.__proto__ is CharacterData.prototype | |
8 PASS text.appendData('efg') did not throw exception. | |
9 PASS text.data is "abcdefg" | |
10 PASS text.appendData() threw exception TypeError: Not enough arguments. | |
11 PASS text.data is "abcdefg" | |
12 PASS successfullyParsed is true | |
13 | |
14 TEST COMPLETE | |
15 | |
OLD | NEW |