We don't provide an extension to the temp file used for uploads
Created attachment 235158 [details] Patch
Comment on attachment 235158 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235158&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:3780 > + // FIXME: The sandbox extensions should be sent with the DidChooseFilesForOpenPanel message. This > + // is gated on a way of passing SandboxExtension::Handles in a Vector. We have that, SandboxExtension::HandleArray.
Comment on attachment 235158 [details] Patch I think that we should use the HandleArray.
(In reply to comment #3) > (From update of attachment 235158 [details]) > I think that we should use the HandleArray. This is a duplicate of the same code path that is used for DidChooseFilesForOpenPanel, this function is simply IOS specific. The core bug here is that both messages don't pass the extensions explicitly, and that should be fixed separately
Why should it be fixed separately? The fix should be straightforward, even simpler than the workaround that you are suggesting here.
(In reply to comment #5) > Why should it be fixed separately? The fix should be straightforward, even simpler than the workaround that you are suggesting here. This code is a duplicate of the code below it, which is already well tested. The only difference is that this "new" code is in an iOS only code path that does not have this piece of logic. The "simpler" implementation requires changing the idl, and multiple methods to do a new and untested thing.
Committed r171257: <http://trac.webkit.org/changeset/171257>
Seriously, committed an r-'ed patch?
Oliver pointed out that this was committed before r-; it's just the comment that was posted now.