Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / local / fileapi / send-sliced-dragged-file-expected.txt
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 Test for slicing a dragged file and sending it via XMLHttpRequest.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7 Test slicing and sending an empty file.
8 PASS event.dataTransfer contains a File object on drop.
9 PASS subfile.size is 0
10 PASS subfile.type is ""
11 PASS Expected response data received: OK
12 Test slicing and sending a small file.
13 PASS event.dataTransfer contains a File object on drop.
14 PASS subfile.size is 4
15 PASS subfile.type is ""
16 PASS Expected response data received: OK
17 PASS event.dataTransfer contains a File object on drop.
18 PASS subfile.size is 8
19 PASS subfile.type is "type/foo"
20 PASS Expected response data received: OK
21 PASS event.dataTransfer contains a File object on drop.
22 PASS subfile.size is 0
23 PASS subfile.type is "type/bar"
24 PASS Expected response data received: OK
25 Test slicing and sending a big file.
26 PASS event.dataTransfer contains a File object on drop.
27 PASS subfile.size is 40
28 PASS subfile.type is ""
29 PASS Expected response data received: OK
30 PASS event.dataTransfer contains a File object on drop.
31 PASS subfile.size is 3000
32 PASS subfile.type is ""
33 PASS Expected response data received: OK
34 PASS event.dataTransfer contains a File object on drop.
35 PASS subfile.size is 9242
36 PASS subfile.type is ""
37 PASS Expected response data received: OK
38 Test slicing and sending a file that has been changed right before sending.
39 PASS event.dataTransfer contains a File object on drop.
40 PASS subfile.size is 5
41 PASS subfile.type is ""
42 PASS Expected response data received: OK
43 PASS Expected exception thrown: NetworkError
44 PASS successfullyParsed is true
45
46 TEST COMPLETE
47