Use SandboxExtension::HandleArray when sending extensions for file uploads to the...
[WebKit-https.git] / Source / WebKit / ChangeLog
index 590d8bb..f21e964 100644 (file)
@@ -1,3 +1,17 @@
+2017-07-26  Brian Burg  <bburg@apple.com>
+
+        Use SandboxExtension::HandleArray when sending extensions for file uploads to the web process
+        https://bugs.webkit.org/show_bug.cgi?id=174828
+
+        Reviewed by Tim Horton.
+
+        In the previous change I forgot to hoist the HandleArray and message-send out of the
+        loop, so the code wasn't actually sending fewer messages. That's fixed now.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::didChooseFilesForOpenPanelWithDisplayStringAndIcon):
+        (WebKit::WebPageProxy::didChooseFilesForOpenPanel):
+
 2017-07-26  Zan Dobersek  <zdobersek@igalia.com>
 
         Unreviewed. Fix a compiler warning that springs up when