OLD | NEW |
1 To manually test, select a text file for the file input element, and then drag '
Drag Me' to 'Drop Here' and drop. Several lines that say 'PASS' should appear be
low. | 1 To manually test, select a text file for the file input element, and then drag '
Drag Me' to 'Drop Here' and drop. |
2 | 2 |
3 Drag Me | 3 Drag Me |
4 Drop Here | 4 Drop Here |
5 PASS: 1 === 1 | 5 Tests DataTransferItemList file handling |
6 PASS: file === file | |
7 PASS: text/plain === text/plain | |
8 | 6 |
| 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 8 |
| 9 |
| 10 PASS testItem.kind is "file" |
| 11 PASS testItem.type is "text/plain" |
| 12 PASS testItems.length is 1 |
| 13 PASS testItems.add(testFile) is null |
| 14 PASS testItems.length is 1 |
| 15 PASS testItems[0].kind is "file" |
| 16 PASS testItems[0].type is "text/plain" |
| 17 PASS successfullyParsed is true |
| 18 |
| 19 TEST COMPLETE |
| 20 |
OLD | NEW |