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

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

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month 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, drag 'Drag Me' to 'Drop Here' and drop. Several lines that say 'PASS' should appear below. 1 To manually test, drag 'Drag Me' to 'Drop Here' and drop. Several lines that say 'PASS' should appear below.
2 2
3 Drag Me 3 Drag Me
4 Drop Here 4 Drop Here
5 Drag handler: 5 Drag handler:
6 Drop handler: 6 Drop handler:
7 Tests drag'n drop and well as DataTransferItemList 7 Tests drag'n drop and well as DataTransferItemList
8 8
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
10 10
(...skipping 12 matching lines...) Expand all
23 PASS testDataTransfer.items.length is 4 23 PASS testDataTransfer.items.length is 4
24 PASS testDataTransfer.items.add("test", "text/plain") is null 24 PASS testDataTransfer.items.add("test", "text/plain") is null
25 PASS testDataTransfer.items.length is 4 25 PASS testDataTransfer.items.length is 4
26 PASS JSON.stringify(expectedTypes) is JSON.stringify(types) 26 PASS JSON.stringify(expectedTypes) is JSON.stringify(types)
27 PASS testData is expectedTestData 27 PASS testData is expectedTestData
28 PASS testData is expectedTestData 28 PASS testData is expectedTestData
29 PASS testData is expectedTestData 29 PASS testData is expectedTestData
30 PASS testData is expectedTestData 30 PASS testData is expectedTestData
31 Running test with DataTransferItemList drag handler and Legacy drop handler 31 Running test with DataTransferItemList drag handler and Legacy drop handler
32 PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute ' add' on 'DataTransferItemList': 1 argument required, but only 0 present.. 32 PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute ' add' on 'DataTransferItemList': 1 argument required, but only 0 present..
33 PASS testDataTransfer.items.add("sample") threw exception TypeError: Type error. 33 PASS testDataTransfer.items.add("sample") threw exception TypeError: Failed to e xecute 'add' on 'DataTransferItemList': No function was found that matched the s ignature provided..
34 PASS testItem.kind is "string" 34 PASS testItem.kind is "string"
35 PASS testItem.type is "text/plain" 35 PASS testItem.type is "text/plain"
36 PASS testItem.kind is "string" 36 PASS testItem.kind is "string"
37 PASS testItem.type is "text/uri-list" 37 PASS testItem.type is "text/uri-list"
38 PASS testItem.kind is "string" 38 PASS testItem.kind is "string"
39 PASS testItem.type is "text/html" 39 PASS testItem.type is "text/html"
40 PASS testItem.kind is "string" 40 PASS testItem.kind is "string"
41 PASS testItem.type is "custom-data" 41 PASS testItem.type is "custom-data"
42 PASS testDataTransfer.types.length is 4 42 PASS testDataTransfer.types.length is 4
43 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true 43 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true
44 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true 44 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true
45 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true 45 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true
46 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true 46 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true
47 PASS testDataTransfer.getData("text") is "sample" 47 PASS testDataTransfer.getData("text") is "sample"
48 PASS testDataTransfer.getData("url") is "http://www.google.com/" 48 PASS testDataTransfer.getData("url") is "http://www.google.com/"
49 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>" 49 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
50 PASS testDataTransfer.getData("custom-data") is "hello world" 50 PASS testDataTransfer.getData("custom-data") is "hello world"
51 Running test with DataTransferItemList drag handler and DataTransferItemList dro p handler 51 Running test with DataTransferItemList drag handler and DataTransferItemList dro p handler
52 PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute ' add' on 'DataTransferItemList': 1 argument required, but only 0 present.. 52 PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute ' add' on 'DataTransferItemList': 1 argument required, but only 0 present..
53 PASS testDataTransfer.items.add("sample") threw exception TypeError: Type error. 53 PASS testDataTransfer.items.add("sample") threw exception TypeError: Failed to e xecute 'add' on 'DataTransferItemList': No function was found that matched the s ignature provided..
54 PASS testItem.kind is "string" 54 PASS testItem.kind is "string"
55 PASS testItem.type is "text/plain" 55 PASS testItem.type is "text/plain"
56 PASS testItem.kind is "string" 56 PASS testItem.kind is "string"
57 PASS testItem.type is "text/uri-list" 57 PASS testItem.type is "text/uri-list"
58 PASS testItem.kind is "string" 58 PASS testItem.kind is "string"
59 PASS testItem.type is "text/html" 59 PASS testItem.type is "text/html"
60 PASS testItem.kind is "string" 60 PASS testItem.kind is "string"
61 PASS testItem.type is "custom-data" 61 PASS testItem.type is "custom-data"
62 PASS testDataTransfer.items.length is 4 62 PASS testDataTransfer.items.length is 4
63 PASS testDataTransfer.items.add("test", "text/plain") is null 63 PASS testDataTransfer.items.add("test", "text/plain") is null
64 PASS testDataTransfer.items.length is 4 64 PASS testDataTransfer.items.length is 4
65 PASS JSON.stringify(expectedTypes) is JSON.stringify(types) 65 PASS JSON.stringify(expectedTypes) is JSON.stringify(types)
66 PASS testData is expectedTestData 66 PASS testData is expectedTestData
67 PASS testData is expectedTestData 67 PASS testData is expectedTestData
68 PASS testData is expectedTestData 68 PASS testData is expectedTestData
69 PASS testData is expectedTestData 69 PASS testData is expectedTestData
70 PASS successfullyParsed is true 70 PASS successfullyParsed is true
71 71
72 TEST COMPLETE 72 TEST COMPLETE
73 73
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/drag-dataTransferItemList.html ('k') | LayoutTests/fast/js/select-options-remove-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698