Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / file-input-files-access-expected.txt
1 Tests for multi-file drag onto file input elements for https://bugs.webkit.org/show_bug.cgi?id=25862
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Dragging a single (non-existant) file to a file input control:
7 PASS fileInput.value is "C:\\fakepath\\DRTFakeFile"
8 PASS fileInput.files.length is 1
9 PASS fileInput.files[0].name is "DRTFakeFile"
10 PASS fileInput.files[0].type is ""
11 PASS fileInput.files[0].size is 0
12 Dragging a real file to a file input control:
13 PASS fileInput.value is "C:\\fakepath\\apple.gif"
14 PASS fileInput.files.length is 1
15 PASS fileInput.files[0].name is "apple.gif"
16 PASS fileInput.files[0].type is "image/gif"
17 PASS fileInput.files[0].size is 1476
18 Dragging a directory onto an file input control:
19 FAIL fileInput.value should be . Was C:\fakepath\directory-for-dragging.
20 FAIL fileInput.files.length should be 0. Was 1.
21 Dragging two files to a single-file input control:
22 PASS fileInput.value is ""
23 PASS fileInput.files.length is 0
24 Dragging a file and a directory onto a single-file input control:
25 PASS fileInput.value is ""
26 PASS fileInput.files.length is 0
27 FIXME:  elements should refuse drags including directories: https://bugs.webkit.org/show_bug.cgi?id=25879.  The page is given File objects corresponding to directories, but form submission will fail.
28 Dragging a directory and a file onto a single-file input control:
29 PASS fileInput.value is ""
30 PASS fileInput.files.length is 0
31 Dragging three files to a multi-file input control:
32 PASS fileInput.value is "C:\\fakepath\\apple.gif"
33 PASS fileInput.files.length is 3
34 PASS fileInput.files[0].name is "apple.gif"
35 PASS fileInput.files[0].type is "image/gif"
36 PASS fileInput.files[0].size is 1476
37 PASS fileInput.files[1].name is "mozilla.gif"
38 PASS fileInput.files[1].type is "image/gif"
39 PASS fileInput.files[1].size is 2593
40 PASS fileInput.files[2].name is "file.invalidext"
41 PASS fileInput.files[2].type is ""
42 PASS fileInput.files[2].size is 10
43 Dragging a file and a directory onto a mutli-file input control:
44 FAIL fileInput.value should be . Was C:\fakepath\apple.gif.
45 FAIL fileInput.files.length should be 0. Was 2.
46 FIXME:  elements should refuse drags including directories: https://bugs.webkit.org/show_bug.cgi?id=25879.  The page is given File objects corresponding to directories, but form submission will fail.
47 Dragging a directory and a file onto a mutli-file input control:
48 FAIL fileInput.value should be . Was C:\fakepath\directory-for-dragging.
49 FAIL fileInput.files.length should be 0. Was 2.
50 Dragging to a disabled file input control:
51 PASS fileInput.value is ""
52 PASS fileInput.files.length is 0
53 PASS successfullyParsed is true
54
55 TEST COMPLETE
56