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

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

Issue 23496045: Have V8Clipboard::clearDataMethodCustom() use V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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, press your browser shortcut for copy and then for paste. Sever al lines that say 'PASS' should appear below. 1 To manually test, press your browser shortcut for copy and then for paste. Sever al lines that say 'PASS' should appear below.
2 2
3 Copy handler: 3 Copy handler:
4 Paste handler: 4 Paste handler:
5 Tests copy / paste and DataTransferItemList 5 Tests copy / paste and DataTransferItemList
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 Running test with Legacy copy handler and Legacy paste handler 10 Running test with Legacy copy handler and Legacy paste handler
11 PASS testDataTransfer.getData("custom-data") is "hello world"
12 PASS testDataTransfer.clearData(nonConvertibleToString) threw exception Exceptio n in toString().
13 PASS testDataTransfer.getData("custom-data") is "hello world"
11 PASS testDataTransfer.types.length is 4 14 PASS testDataTransfer.types.length is 4
12 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true 15 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true
13 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true 16 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true
14 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true 17 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true
15 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true 18 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true
16 PASS testDataTransfer.getData("text") is "sample" 19 PASS testDataTransfer.getData("text") is "sample"
17 PASS testDataTransfer.getData("url") is "http://www.google.com/" 20 PASS testDataTransfer.getData("url") is "http://www.google.com/"
18 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>" 21 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
19 PASS testDataTransfer.getData("custom-data") is "hello world" 22 PASS testDataTransfer.getData("custom-data") is "hello world"
20 Running test with Legacy copy handler and DataTransferItemList paste handler 23 Running test with Legacy copy handler and DataTransferItemList paste handler
24 PASS testDataTransfer.getData("custom-data") is "hello world"
25 PASS testDataTransfer.clearData(nonConvertibleToString) threw exception Exceptio n in toString().
26 PASS testDataTransfer.getData("custom-data") is "hello world"
21 PASS testDataTransfer.items.length is 4 27 PASS testDataTransfer.items.length is 4
22 PASS JSON.stringify(expectedTypes) is JSON.stringify(types) 28 PASS JSON.stringify(expectedTypes) is JSON.stringify(types)
23 PASS testData is expectedTestData 29 PASS testData is expectedTestData
24 PASS testData is expectedTestData 30 PASS testData is expectedTestData
25 PASS testData is expectedTestData 31 PASS testData is expectedTestData
26 PASS testData is expectedTestData 32 PASS testData is expectedTestData
27 Running test with DataTransferItemList copy handler and Legacy paste handler 33 Running test with DataTransferItemList copy handler and Legacy paste handler
28 PASS testDataTransfer.items.item is undefined. 34 PASS testDataTransfer.items.item is undefined.
29 PASS testDataTransfer.types.length is 4 35 PASS testDataTransfer.types.length is 4
30 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true 36 PASS testDataTransfer.types.indexOf("text/plain") >= 0 is true
31 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true 37 PASS testDataTransfer.types.indexOf("text/uri-list") >= 0 is true
32 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true 38 PASS testDataTransfer.types.indexOf("text/html") >= 0 is true
33 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true 39 PASS testDataTransfer.types.indexOf("custom-data") >= 0 is true
34 PASS testDataTransfer.getData("text") is "sample" 40 PASS testDataTransfer.getData("text") is "sample"
35 PASS testDataTransfer.getData("url") is "http://www.google.com/" 41 PASS testDataTransfer.getData("url") is "http://www.google.com/"
36 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>" 42 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
37 PASS testDataTransfer.getData("custom-data") is "hello world" 43 PASS testDataTransfer.getData("custom-data") is "hello world"
38 Running test with DataTransferItemList copy handler and DataTransferItemList pas te handler 44 Running test with DataTransferItemList copy handler and DataTransferItemList pas te handler
39 PASS testDataTransfer.items.item is undefined. 45 PASS testDataTransfer.items.item is undefined.
40 PASS testDataTransfer.items.length is 4 46 PASS testDataTransfer.items.length is 4
41 PASS JSON.stringify(expectedTypes) is JSON.stringify(types) 47 PASS JSON.stringify(expectedTypes) is JSON.stringify(types)
42 PASS testData is expectedTestData 48 PASS testData is expectedTestData
43 PASS testData is expectedTestData 49 PASS testData is expectedTestData
44 PASS testData is expectedTestData 50 PASS testData is expectedTestData
45 PASS testData is expectedTestData 51 PASS testData is expectedTestData
46 PASS successfullyParsed is true 52 PASS successfullyParsed is true
47 53
48 TEST COMPLETE 54 TEST COMPLETE
49 55
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/clipboard-dataTransferItemList.html ('k') | Source/bindings/v8/custom/V8ClipboardCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698