Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: LayoutTests/fast/events/drag-dataTransferItemList-file-handling-expected.txt

Issue 22837006: Have DataTransferItemList.add() methods return the added item (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/drag-dataTransferItemList-file-handling.html ('k') | Source/core/dom/DataTransferItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698