Title: [153023] branches/safari-537-branch/Source/WebKit2

Diff

Modified: branches/safari-537-branch/Source/WebKit2/ChangeLog (153022 => 153023)


--- branches/safari-537-branch/Source/WebKit2/ChangeLog	2013-07-23 01:43:21 UTC (rev 153022)
+++ branches/safari-537-branch/Source/WebKit2/ChangeLog	2013-07-23 01:47:40 UTC (rev 153023)
@@ -1,5 +1,22 @@
 2013-07-22  Lucas Forschler  <[email protected]>
 
+        Merge r152787
+
+    2013-07-17  Simon Cooper  <[email protected]>
+
+            YouTube webcam capture (Flash Plug-in) in Safari can't see built-in camera
+            https://bugs.webkit.org/show_bug.cgi?id=118787
+            <rdar://problem/14418799>
+
+            Reviewed by Alexey Proskuryakov.
+
+            Add support for built-in cameras, including the original iSight.
+
+            * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
+            * Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:
+
+2013-07-22  Lucas Forschler  <[email protected]>
+
         Merge r152866
 
     2013-07-18  Tim Horton  <[email protected]>

Modified: branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb (153022 => 153023)


--- branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb	2013-07-23 01:43:21 UTC (rev 153022)
+++ branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb	2013-07-23 01:47:40 UTC (rev 153023)
@@ -290,6 +290,27 @@
 (define (webkit-imagecapture)
     (allow appleevent-send (appleevent-destination "com.apple.imagecaptureextension2")))
 
+;; Camera
+(define (webkit-camera)
+    (allow mach-lookup (extension "com.apple.app-sandbox.mach"))
+    (allow mach-lookup
+        (global-name "com.apple.cmio.AppleCameraAssistant")
+        ;; Apple DAL assistants
+        (global-name "com.apple.cmio.VDCAssistant")
+        (global-name "com.apple.cmio.AVCAssistant")
+        (global-name "com.apple.cmio.IIDCVideoAssistant")
+        ;; QuickTimeIIDCDigitizer assistant
+        (global-name "com.apple.IIDCAssistant"))
+    (allow iokit-open
+        ;; QuickTimeUSBVDCDigitizer
+        (iokit-user-client-class "IOUSBDeviceUserClientV2")
+        (iokit-user-client-class "IOUSBInterfaceUserClientV2"))
+    (allow device-camera))
+
+;; Microphone
+(define (webkit-microphone)
+    (allow device-microphone))
+
 (allow ipc-posix-shm*
     (ipc-posix-name-regex #"^AudioIO")
     (ipc-posix-name-regex #"^CFPBS:")

Modified: branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb (153022 => 153023)


--- branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb	2013-07-23 01:43:21 UTC (rev 153022)
+++ branches/safari-537-branch/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb	2013-07-23 01:47:40 UTC (rev 153023)
@@ -1,3 +1,8 @@
+(webkit-powerbox)
+(webkit-printing)
+(webkit-camera)
+(webkit-microphone)
+
 (allow ipc-posix-sem
     (ipc-posix-name "MacromediaSemaphoreDig")
     (ipc-posix-name "59918130"))
@@ -34,5 +39,3 @@
 
 (allow network-bind (local ip))
 
-(webkit-powerbox)
-(webkit-printing)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to