Bug 54288 - WebKit2: No icon shown for <input type=file>
Summary: WebKit2: No icon shown for <input type=file>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: data:text/html,<input type=file>
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-02-11 08:49 PST by Adam Roben (:aroben)
Modified: 2011-03-14 09:47 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.79 KB, patch)
2011-03-13 19:43 PDT, Sam Weinig
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-02-11 08:49:01 PST
To reproduce:

1. Go to data:text/html,<input type=file>
2. Choose a file

No icon is shown for the file!
Comment 1 Adam Roben (:aroben) 2011-02-11 08:49:38 PST
I think this is happening because WebChromeClient::chooseIconForFiles is unimplemented. (It looks like a lot of other WebChromeClient functions are unimplemented as well; I wonder if we have bugs for all of them?)
Comment 2 Adam Roben (:aroben) 2011-02-11 08:50:05 PST
<rdar://problem/8988982>
Comment 3 Sam Weinig 2011-03-13 19:43:06 PDT
Created attachment 85636 [details]
Patch
Comment 4 Sam Weinig 2011-03-14 09:47:34 PDT
Landed in r81032.