Title: [253130] trunk/Source/WebKit
Revision
253130
Author
pvol...@apple.com
Date
2019-12-04 16:27:49 -0800 (Wed, 04 Dec 2019)

Log Message

Unreviewed fix for failure to create sandbox extension on macOS after r253011. This should be iOS only.


* UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
(WebKit::UserMediaPermissionRequestManagerProxy::finishGrantingRequest):
* UIProcess/UserMediaPermissionRequestManagerProxy.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (253129 => 253130)


--- trunk/Source/WebKit/ChangeLog	2019-12-05 00:23:59 UTC (rev 253129)
+++ trunk/Source/WebKit/ChangeLog	2019-12-05 00:27:49 UTC (rev 253130)
@@ -1,5 +1,13 @@
 2019-12-04  Per Arne Vollan  <pvol...@apple.com>
 
+        Unreviewed fix for failure to create sandbox extension on macOS after r253011. This should be iOS only.
+
+        * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
+        (WebKit::UserMediaPermissionRequestManagerProxy::finishGrantingRequest):
+        * UIProcess/UserMediaPermissionRequestManagerProxy.h:
+
+2019-12-04  Per Arne Vollan  <pvol...@apple.com>
+
         [iOS] The UI process should issue mach sandbox extension to "com.apple.AGXCompilerService"
         https://bugs.webkit.org/show_bug.cgi?id=203915
 

Modified: trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp (253129 => 253130)


--- trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp	2019-12-05 00:23:59 UTC (rev 253129)
+++ trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp	2019-12-05 00:27:49 UTC (rev 253130)
@@ -241,7 +241,7 @@
     ++m_hasPendingCapture;
 
     SandboxExtension::Handle handle;
-#if HAVE(SANDBOX_ISSUE_MACH_EXTENSION_TO_PROCESS_BY_AUDIT_TOKEN)
+#if PLATFORM(IOS)
     if (!m_hasCreatedSandboxExtensionForTCCD) {
         SandboxExtension::createHandleForMachLookup("com.apple.tccd", m_page.process().connection()->getAuditToken(), handle);
         m_hasCreatedSandboxExtensionForTCCD = true;

Modified: trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.h (253129 => 253130)


--- trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.h	2019-12-05 00:23:59 UTC (rev 253129)
+++ trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.h	2019-12-05 00:27:49 UTC (rev 253130)
@@ -154,7 +154,7 @@
     const void* m_logIdentifier;
 #endif
     bool m_hasFilteredDeviceList { false };
-#if HAVE(SANDBOX_ISSUE_MACH_EXTENSION_TO_PROCESS_BY_AUDIT_TOKEN)
+#if PLATFORM(IOS)
     bool m_hasCreatedSandboxExtensionForTCCD { false };
 #endif
     uint64_t m_hasPendingCapture { 0 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to