WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
164716
[GTK] Cannot activate file input from web extension
https://bugs.webkit.org/show_bug.cgi?id=164716
Summary
[GTK] Cannot activate file input from web extension
antoyo
Reported
2016-11-14 11:03:58 PST
Hello. I wonder how to use the function `webkit_dom_html_input_element_set_files` because it seems there is no way to create a WebKitDOMFileList. If it is not possible to set the files with this method, is there a way to click on an input[type="file"] from a web extension (`webkit_dom_html_element_click()` does not work. Using dispatch_event() with a mouse click event does not work either. It seems there is a different behaviour between Chromium (Blink) and WebKit2: using click() does work on Chromium, but not on WebKit2. Is it normal?)? Or is there a way to set the value of an input[type="file"] from a string in a web extension? Thanks.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug