This file tests the basic functionality and properties of DataTransferItems. This test requires DRT. Populating DataTransferItems... Caught exception "Error: NotSupportedError: DOM Exception 9" as expected. Verifying contents of DataTransferItems... items.length: 2 items[0].kind: string items[0].type: text/plain items[1].kind: string items[1].type: text/html Checking if items past the end of the collection can be indexed: items[2] is undefined: undefined Checking that a read-only DataTransferItems cannot be mutated... items.length: 2 items[0].kind: string items[0].type: text/html items[1].kind: string items[1].type: text/plain items[2] is undefined: undefined Testing if DataTransferItems can be accessed outside an event handler... DataTransferItem accessed outside event handler! copy: items[0] value: Hello World! copy: items[1] value: Hello World! paste: items[0] value: This file tests the basic functionality and properties of DataTransferItems. This test requires DRT. paste: items[1] value: This file tests the basic functionality and properties of DataTransferItems. This test requires DRT.