OLD | NEW |
| (Empty) |
1 Tests correct behavior of event.dataTransfer.setData/getData for 'URL', 'text/ur
i-list' and 'text/plain' | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 --- Test set/get 'URL': | |
7 PASS getDataResultType is "string" | |
8 FAIL getDataResult should be http://test.com/. Was http://test.com. | |
9 --- Test set/get 'URL' with multiple URLs: | |
10 PASS getDataResultType is "string" | |
11 FAIL getDataResult should be http://test.com/. Was . | |
12 --- Test set/get 'text/uri-list': | |
13 PASS getDataResultType is "string" | |
14 FAIL getDataResult should be http://test.com | |
15 http://check.com. Was . | |
16 --- Test set/get 'text/uri-list' using '\n': | |
17 PASS getDataResultType is "string" | |
18 FAIL getDataResult should be http://test.com | |
19 http://check.com. Was . | |
20 --- Test set 'text/uri-list', get 'URL': | |
21 PASS getDataResultType is "string" | |
22 FAIL getDataResult should be http://test.com/. Was . | |
23 --- Test set 'URL', get 'text/uri-list': | |
24 PASS getDataResultType is "string" | |
25 FAIL getDataResult should be http://test.com | |
26 http://check.com. Was . | |
27 --- Test set 'text/uri-list', get 'URL', using only '\n': | |
28 PASS getDataResultType is "string" | |
29 FAIL getDataResult should be http://test.com/. Was . | |
30 --- Test set/get 'text/uri-list' with comments: | |
31 PASS getDataResultType is "string" | |
32 FAIL getDataResult should be # comment | |
33 http://test.com | |
34 http://check.com. Was . | |
35 --- Test set 'text/uri-list', get 'URL' with comments: | |
36 PASS getDataResultType is "string" | |
37 FAIL getDataResult should be http://test.com/. Was . | |
38 --- Test set 'text/uri-list', get 'URL' with only comments: | |
39 PASS getDataResultType is "string" | |
40 PASS getDataResult is "" | |
41 --- Test set/get 'text/plain': | |
42 PASS getDataResultType is "string" | |
43 PASS getDataResult is "Lorem ipsum dolor sit amet." | |
44 --- Test set 'text/plain', get 'text': | |
45 PASS getDataResultType is "string" | |
46 PASS getDataResult is "Lorem ipsum dolor sit amet." | |
47 --- Test set 'text', get 'text/plain': | |
48 PASS getDataResultType is "string" | |
49 PASS getDataResult is "Lorem ipsum dolor sit amet." | |
50 --- Test set/get 'text': | |
51 PASS getDataResultType is "string" | |
52 PASS getDataResult is "Lorem ipsum dolor sit amet." | |
53 PASS successfullyParsed is true | |
54 | |
55 TEST COMPLETE | |
56 | |
OLD | NEW |