Unable to click on input file element in Firefox extension

RESOLVED INCOMPLETE

Status

()

Firefox
Untriaged
RESOLVED INCOMPLETE
4 years ago
2 years ago

People

(Reporter: lesliewu2008, Unassigned)

Tracking

31 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Build ID: 20140825060242

Steps to reproduce:

I want to do click action on a input file element at Firefox extension side.
1. get the element in Firefox extension.
2. I have tried element.click() and element.dispatchEvent(), both don't work.


Actual results:

Nothing happens.


Expected results:

a file upload dialog displays.
(Reporter)

Comment 1

4 years ago
This issue is at Firefox extension development side, if the above js is executed in web console, it works.

Comment 2

4 years ago
If it works from the console, can you provide an XPI of the add-on that's broken?
Flags: needinfo?(lesliewu2008)
Hi,
Marking this as Resolved: Incomplete due to the lack of response from the reporter.
Reporter, please feel free to reopen it if you are still having this issue.  Thank you for your time.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(lesliewu2008)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.