OLD | NEW |
1 This file tests the basic functionality and properties of DataTransferItems. Thi
s test requires DRT. | 1 This file tests the basic functionality and properties of DataTransferItems. Thi
s test requires DRT. |
2 Populating DataTransferItems... | 2 Populating DataTransferItems... |
3 Caught exception "NotSupportedError: Failed to execute 'add' on 'DataTransferIte
mList': An item already exists for type 'text/plain'." as expected. | 3 Caught exception "NotSupportedError: Failed to execute 'add' on 'DataTransferIte
mList': An item already exists for type 'text/plain'." as expected. |
4 Verifying contents of DataTransferItems... | 4 Verifying contents of DataTransferItems... |
5 items.length: 2 | 5 items.length: 2 |
6 items[0].kind: string | 6 items[0].kind: string |
7 items[0].type: text/plain | 7 items[0].type: text/plain |
8 items[1].kind: string | 8 items[1].kind: string |
9 items[1].type: text/html | 9 items[1].type: text/html |
10 Checking if items past the end of the collection can be indexed: | 10 Checking if items past the end of the collection can be indexed: |
11 items[2] is undefined: undefined | 11 items[2] is undefined: undefined |
12 Checking that a read-only DataTransferItems cannot be mutated... | 12 Checking that a read-only DataTransferItems cannot be mutated... |
13 items.length: 2 | 13 items.length: 2 |
14 items[0].kind: string | 14 items[0].kind: string |
15 items[0].type: text/plain | 15 items[0].type: text/plain |
16 items[1].kind: string | 16 items[1].kind: string |
17 items[1].type: text/html | 17 items[1].type: text/html |
18 items[2] is undefined: undefined | 18 items[2] is undefined: undefined |
19 Testing if DataTransferItems can be accessed outside an event handler... | 19 Testing if DataTransferItems can be accessed outside an event handler... |
20 DataTransferItem accessed outside event handler! | 20 DataTransferItem accessed outside event handler! |
21 copy: items[0] value: Hello World! | 21 copy: items[0] value: Hello World! |
22 copy: items[1] value: <b>Hello World! | 22 copy: items[1] value: <b>Hello World! |
23 paste: items[0] value: This file tests the basic functionality and properties of
DataTransferItems. This test requires DRT. | 23 paste: items[0] value: This file tests the basic functionality and properties of
DataTransferItems. This test requires DRT. |
24 paste: items[1] value: <span style="color: rgb(0, 0, 0); font-size: medium; font
-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-al
ign: start; text-indent: 0px; text-transform: none; white-space: normal; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan
t; float: none;">This file tests the basic functionality and properties of DataT
ransferItems. This test requires DRT.</span> | 24 paste: items[1] value: <span style="color: rgb(0, 0, 0); font-size: medium; font
-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-
weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-al
ign: start; text-indent: 0px; text-transform: none; white-space: normal; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: in
itial; text-decoration-color: initial; display: inline !important; float: none;"
>This file tests the basic functionality and properties of DataTransferItems. Th
is test requires DRT.</span> |
25 | 25 |
OLD | NEW |