1 Checks that DataTransferItemList.remove() is working
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
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: Failed to execute 'remove' on 'DataTransferItemList': 1 argument required, but only 0 present..
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"
25 PASS dataTansferItemList.length is 2
26 PASS dataTansferItemList.remove(0) threw exception InvalidStateError: Failed to execute 'remove' on 'DataTransferItemList': The list is not writable..
27 PASS dataTansferItemList.length is 2
28 PASS successfullyParsed is true