OLD | NEW |
(Empty) | |
| 1 Checks that DataTransferItemList.remove() is working |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 * copy event |
| 7 PASS dataTansferItemList.length is 4 |
| 8 PASS dataTansferItemList[0].type is "text/plain" |
| 9 PASS dataTansferItemList[1].type is "text/uri-list" |
| 10 PASS dataTansferItemList[2].type is "text/html" |
| 11 PASS dataTansferItemList[3].type is "custom-data" |
| 12 PASS dataTansferItemList.remove() threw exception TypeError: Not enough argument
s. |
| 13 PASS dataTansferItemList.remove(-1) did not throw exception. |
| 14 PASS dataTansferItemList.length is 4 |
| 15 PASS dataTansferItemList.remove(999) did not throw exception. |
| 16 PASS dataTansferItemList.length is 4 |
| 17 PASS dataTansferItemList.remove(0) did not throw exception. |
| 18 PASS dataTansferItemList.length is 3 |
| 19 PASS dataTansferItemList[0].type is "text/uri-list" |
| 20 PASS dataTansferItemList[1].type is "text/html" |
| 21 PASS dataTansferItemList.remove(-4294967295) did not throw exception. |
| 22 PASS dataTansferItemList.length is 2 |
| 23 PASS dataTansferItemList[1].type is "custom-data" |
| 24 * paste event |
| 25 PASS dataTansferItemList.length is 2 |
| 26 PASS dataTansferItemList.remove(0) threw exception InvalidStateError: An attempt
was made to use an object that is not, or is no longer, usable.. |
| 27 PASS dataTansferItemList.length is 2 |
| 28 PASS successfullyParsed is true |
| 29 |
| 30 TEST COMPLETE |
| 31 |
OLD | NEW |