[Webkit-unassigned] [Bug 164716] New: Cannot activate file input from web extension

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 11:03:58 PST 2016


            Bug ID: 164716
           Summary: Cannot activate file input from web extension
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bouanto at zoho.com

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?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161114/bc6f39c0/attachment.html>

More information about the webkit-unassigned mailing list