[Webkit-unassigned] [Bug 75385] New: [Qt] Programmatic file upload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 30 04:19:33 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=75385

           Summary: [Qt] Programmatic file upload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: j at jonathanleighton.com


As far as I know, the only way to add a file to a file input element without user action, is to intercept QWebPage::chooseFile [http://developer.qt.nokia.com/doc/qt-4.8/qwebpage.html#chooseFile]. This requires creating a click event on the element via Javascript code, which works fine in Qt 4.7.

Qt 4.8 however, incorporates a change [https://github.com/WebKit/webkit/commit/931870c11b2a4d0b714eea241db5654d9d8cf6a7] that prevents this, by ignoring click events that are not generated by the user. (See https://bugs.webkit.org/show_bug.cgi?id=47593.)

It seems like there ought to be a better way to upload a file, without having to create click events in Javascript code, which would mean that the above would not be a problem.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list