This repository was archived by the owner on Nov 29, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 194
type command fails with security error in Firefox 8 for file inputs #2826
Copy link
Copy link
Closed
Description
Originally reported on Google Code with ID 2826
What steps will reproduce the problem?
Running this test in windows Vista with Firefox 8.0
It uses a publicly available page to make it easy to replicate the issue
<tr>
<td>open</td>
<td>http://www.htmlcodetutorial.com/forms/_INPUT_TYPE_FILE.html</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=upfile</td>
<td>C:\Users\n.delargy\Desktop\M86_1_SV12.jpg</td>
</tr>
What is the expected output? What do you see instead?
I'd expect this to fill the file input
instead if produces the following exception
[error] Unexpected Exception: code -> 1000, INDEX_SIZE_ERR -> 1, DOMSTRING_SIZE_ERR
-> 2, HIERARCHY_REQUEST_ERR -> 3, WRONG_DOCUMENT_ERR -> 4, INVALID_CHARACTER_ERR ->
5, NO_DATA_ALLOWED_ERR -> 6, NO_MODIFICATION_ALLOWED_ERR -> 7, NOT_FOUND_ERR -> 8,
NOT_SUPPORTED_ERR -> 9, INUSE_ATTRIBUTE_ERR -> 10, INVALID_STATE_ERR -> 11, SYNTAX_ERR
-> 12, INVALID_MODIFICATION_ERR -> 13, NAMESPACE_ERR -> 14, INVALID_ACCESS_ERR -> 15,
VALIDATION_ERR -> 16, TYPE_MISMATCH_ERR -> 17, DATA_CLONE_ERR -> 25, message -> Security
error, result -> 2152924136, name -> NS_ERROR_DOM_SECURITY_ERR, filename -> chrome://selenium-ide/content/selenium-core/scripts/atoms.js,
lineNumber -> 8866, columnNumber -> 0, location -> JS frame :: chrome://selenium-ide/content/selenium-core/scripts/atoms.js
:: <TOP_LEVEL> :: line 8866, inner -> null, data -> null
Selenium version: 1.3.0
OS: Windows
Browser: Firefox
Brower version: 8.0
Reported by n.delargy@ctidigital.com on 2011-11-11 15:27:51