WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
51045
[Qt] Implement HTML File Input "accept" attribute
https://bugs.webkit.org/show_bug.cgi?id=51045
Summary
[Qt] Implement HTML File Input "accept" attribute
Jarred Nicholls
Reported
2010-12-14 10:34:47 PST
Append to ChromeClientQt::runOpenPanel and QWebPage to implement the "accept" attribute. Convert from a MIME Type list into a QFileDialog filter string.
Attachments
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2010-12-18 09:22:48 PST
Now that I have seen
https://bugs.webkit.org/show_bug.cgi?id=51043
and the FileChooser API I wonder if our existing API for the file picker is just not future proof. If we have to add an extension to QWebPage for each change of FileChooser, our API might get uglier and uglier with time. I don't know if other changes are planned. Maybe the solution is to have a new slot like this: bool QWebPage::chooseFileOrDirectory(const QWebFilePickerOption &). Please consider having a look at this API for WebKit 2 as well when fixing the bug :)
Jon Lee
Comment 2
2011-09-14 15:47:22 PDT
See also
bug 45079
.
Jocelyn Turcotte
Comment 3
2014-02-03 03:17:00 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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