File uploads do not work within the sandbox
Created attachment 81895 [details] Patch
Comment on attachment 81895 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81895&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:2124 > + SandboxExtension::Handle sandboxExtensionHandle; > + SandboxExtension::createHandle(fileURLs[i], SandboxExtension::ReadOnly, sandboxExtensionHandle); Why does this use an out argument instead of a return value? > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1561 > + RefPtr<SandboxExtension> extension = SandboxExtension::create(handle); > + extension->consumePermanently(); No need for a local variable here.
Fixed in http://trac.webkit.org/changeset/78163.