<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot activate file input from web extension"
   href="https://bugs.webkit.org/show_bug.cgi?id=164716">164716</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot activate file input from web extension
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Local Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit2
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bouanto&#64;zoho.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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=&quot;file&quot;] 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=&quot;file&quot;] from a string in a web extension?
Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>