dbates@webkit.org | cc03056 | 2013-08-20 16:50:33 +0000 | [diff] [blame] | 1 | |
| 2 | This tests the value of stringValue for a single file- and multiple files-<input type="file"> control. |
| 3 | |
| 4 | |
| 5 | Default value (no files selected): |
| 6 | accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: no file selected |
| 7 | accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: no files selected |
| 8 | |
| 9 | Drag and drop a single file: |
| 10 | accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: file1.txt |
| 11 | accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: file1.txt |
| 12 | |
| 13 | Drag and drop two files: |
| 14 | accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: no file selected |
| 15 | accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: 2 files |
| 16 | |