Closed
Bug 897360
Opened 12 years ago
Closed 10 years ago
input [type=file] does not shows file select dialog box with manual click in firefox v.22
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: 1onetoone1, Unassigned)
Details
(Whiteboard: needs-replication)
Attachments
(1 file)
|
449 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.2)
Steps to reproduce:
I had written HTML with following Code
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Page</title>
<script src="script1.js" type="text/javascript" language="javascript">
</script>
</head>
<body>
<form action="Default.aspx" method="post" enctype="multipart/form-data">
<input id="file1" name="file1" type="file" />
<input type="submit" value="Upload" />
</form>
</body>
</html>
Actual results:
because of adding script1.js in header or anywhere in document.body it does not show file-selection-dialog box with manual click on browse button.
in script1.js there are lots of functions, it works fine on Internet Explorer in all version even file also gets uploaded. if I remove the script1.js file from html source.
then it shows file-selection-dialog box in firefox v.22 too, also file gets uploaded.
Expected results:
I need to know that is there any javascript part which restricts or prevents to show file-selection-dialog box for security threats.
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Attachment #789049 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
Whiteboard: needs-replication
Comment 2•11 years ago
|
||
i can reproduce this on firefox 29, but i have to
1. click the selector and select a file
2. click the selector and then cancel
3. click the selector
at the 3rd click (and subsequent ones) nothing happens other than the “browse” button being depressed
Comment 3•10 years ago
|
||
Hello Reporter,
Are you still encountering this issue on Firefox 43.0?
I can not reproduce this issue on my machine as I can see the browse popup.
Name Firefox
Version 46.0a1
Build ID 20160111030207
User Agent Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
Sorry for such a late reply (We are cleaning up all of the old bugs).
Thank you,
Justin
Flags: needinfo?(1onetoone1)
Comment 4•10 years ago
|
||
Closing this bug due to lack of response from the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(1onetoone1)
Resolution: --- → INCOMPLETE
Comment 5•9 years ago
|
||
I could reproduce this problem in Version 49.0.1 on an openSUSE machine.
I couldn't reproduce this under Version 49.0.1 on a windows 7 machine.
Problem Description: I could select two times a file and the 3. time the input field is not responding.
* click -> select file -> open
* click -> select file -> open
* click -> nothing happened
HTML Code:
<html>
<form>
<input type="file">
</form>
</html>
You need to log in
before you can comment on or make changes to this bug.
Description
•