Title: [152787] trunk/Source/WebKit2
- Revision
- 152787
- Author
- [email protected]
- Date
- 2013-07-17 10:10:21 -0700 (Wed, 17 Jul 2013)
Log Message
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>
Patch by Simon Cooper <[email protected]> on 2013-07-17
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:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (152786 => 152787)
--- trunk/Source/WebKit2/ChangeLog 2013-07-17 16:44:43 UTC (rev 152786)
+++ trunk/Source/WebKit2/ChangeLog 2013-07-17 17:10:21 UTC (rev 152787)
@@ -1,3 +1,16 @@
+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-17 Chris Fleizach <[email protected]>
AX: VoiceOver not working with data detection page overlays
Modified: trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb (152786 => 152787)
--- trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb 2013-07-17 16:44:43 UTC (rev 152786)
+++ trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb 2013-07-17 17:10:21 UTC (rev 152787)
@@ -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: trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb (152786 => 152787)
--- trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb 2013-07-17 16:44:43 UTC (rev 152786)
+++ trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb 2013-07-17 17:10:21 UTC (rev 152787)
@@ -1,3 +1,8 @@
+(webkit-powerbox)
+(webkit-printing)
+(webkit-camera)
+(webkit-microphone)
+
(allow ipc-posix-sem
(ipc-posix-name "MacromediaSemaphoreDig")
(ipc-posix-name "59918130"))
@@ -33,5 +38,3 @@
(allow network-bind (local ip))
-(webkit-powerbox)
-(webkit-printing)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes