Fail event ONCLICK if is relationated with FILES

RESOLVED DUPLICATE of bug 36619

Status

()

Firefox
Keyboard Navigation
RESOLVED DUPLICATE of bug 36619
8 years ago
5 years ago

People

(Reporter: Rodrigo, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

Hi,

event onclcik="..."

No run correctly.

I test in OPERA=Ok
I test in SAFARI=Ok
I test in IE=Ok

But FF=Fail.

Reproducible: Always

Steps to Reproduce:
1.Go to http://mejoramos.com/bugs/b01.php
2.Focus in textbox
3.Sorpraise!
Actual Results:  
My software no run...

:'(


Greath browser Firefox !!

Comment 1

8 years ago
I'm not sure what this is supposed to do. I ran it in Google Chrome as well as Firefox and either one of them executed the program.

to be quite honest, I don't like what this site is attempting to achieve, this just smacks of exploit.
(Reporter)

Comment 2

8 years ago
Correct!!!

Google Chrome also run correctly!!

Comment 3

8 years ago
sorry, I need to correct my first post, neither google chrome nor mozilla firefox ran the program I selected

Comment 4

8 years ago
from what I can tell, there is no code on the page to execute the program. I would expect javascript or something, but nothing, just <form id="FORMA"><textarea name="kja" onfocus="document.forms.FORMA.prueba.click();"></textarea><input type="file" name="prueba" /></form>
(Reporter)

Comment 5

8 years ago
Correct!.

FF no run this line:

[document.forms.FORMA.prueba.click();]

But others Browsers YES!

Comment 6

8 years ago
Created attachment 442737 [details]
screenshot of results from website

I'm not sure I understand what is going on, or I'm getting completely different results from what you are reporting. here is a screenshot of what I get in firefox 3.6.3 internet explorer 8.0.6991.18904, and Chrome 4.1.249.1064. does this match with what you get?
(Reporter)

Comment 7

8 years ago
Please open newly the file with Chrome and FF.

Now I add a comment.
Severity: critical → normal

Comment 8

8 years ago
You are trying to simulate a click on a file input, correct? FF does not allow this (for security reasons?). http://forums.mozillazine.org/viewtopic.php?t=641798

This looks to be a duplicate of bug 36619.
(Reporter)

Comment 9

8 years ago
Hi Tim.

Yes, just I need emuled action "OnCLICK" in a button FILE.

In Safari=Ok
In Chrome=Ok
In IE=Ok

I need show the dialog to upload a file.

NOTE: I no need upload the file "OnClick"

Only show the dialog TO UPLOAD

Just identic action showed by SAFARI.

In others words:

I need upload file when user do CLICK in LINK, no in BUTTON

Thanks

Comment 10

8 years ago
FF does not currently support this -> you can follow along with the bug where this issue is being tracked -> It is Bug 36619
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 36619
(Reporter)

Comment 11

8 years ago
:'(

Ok.
(Reporter)

Comment 12

5 years ago
No problem!

Now I used FF version 19.0.2 and BUD is goin...

:)

Now BUG is fixed :)

Thanks team!
You need to log in before you can comment on or make changes to this bug.