Bug 51087 - WebKit2: Can't add files to an <input type=file>
Summary: WebKit2: Can't add files to an <input type=file>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-12-14 19:02 PST by Sam Weinig
Modified: 2010-12-21 18:30 PST (History)
1 user (show)

See Also:


Attachments
Patch to test (DO NOT REVIEW) (69.07 KB, patch)
2010-12-14 19:27 PST, Sam Weinig
no flags Details | Formatted Diff | Diff
Also a test! (DO NOT REVIEW) (69.07 KB, patch)
2010-12-14 20:29 PST, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (70.32 KB, patch)
2010-12-15 13:06 PST, Sam Weinig
no flags Details | Formatted Diff | Diff
Updated Patch (72.86 KB, patch)
2010-12-15 13:26 PST, Sam Weinig
andersca: review+
Details | Formatted Diff | Diff
Tester (11 bytes, text/plain)
2010-12-21 18:30 PST, Sam Weinig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2010-12-14 19:02:49 PST
WebKit2: Can't add files to an <input type=file>
Comment 1 Sam Weinig 2010-12-14 19:03:01 PST
<rdar://problem/8668718>
Comment 2 Sam Weinig 2010-12-14 19:27:13 PST
Created attachment 76618 [details]
Patch to test (DO NOT REVIEW)
Comment 3 Sam Weinig 2010-12-14 20:29:00 PST
Created attachment 76621 [details]
Also a test! (DO NOT REVIEW)
Comment 4 Sam Weinig 2010-12-15 13:06:14 PST
Created attachment 76683 [details]
Patch
Comment 5 Early Warning System Bot 2010-12-15 13:19:06 PST
Attachment 76683 [details] did not build on qt:
Build output: http://queues.webkit.org/results/7158046
Comment 6 Sam Weinig 2010-12-15 13:26:34 PST
Created attachment 76684 [details]
Updated Patch
Comment 7 Anders Carlsson 2010-12-15 13:31:40 PST
Comment on attachment 76684 [details]
Updated Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=76684&action=review

> WebKit2/Scripts/webkit2/messages.py:420
> +        'WebKit::WebOpenPanelParameters::Data': '"WebOpenPanelParameters.h"',

I don't think this is needed.

> WebKit2/Shared/WebOpenPanelParameters.cpp:52
> +{

I usually name the out parameter "result" here.

> WebKit2/Shared/WebOpenPanelParameters.h:60
> +    WebOpenPanelParameters(const Data&);

Please make this explicit.

> WebKitTools/MiniBrowser/mac/BrowserWindowController.m:540
> +    printf("runOpenPanel callback\n");

Please remove this.
Comment 8 Sam Weinig 2010-12-15 13:53:28 PST
Landed in r74139.
Comment 9 Sam Weinig 2010-12-21 18:30:46 PST
Created attachment 77177 [details]
Tester