Title: [235807] trunk/Source/WebKit
Revision
235807
Author
[email protected]
Date
2018-09-07 14:29:35 -0700 (Fri, 07 Sep 2018)

Log Message

Allow WebContent access to AVCSupported IOKit property in sandbox
https://bugs.webkit.org/show_bug.cgi?id=189429
<rdar://problem/43612229>

Reviewed by Eric Carlson.

Allow access to the IOKit properties AVCSupported and HEVCSupported to allow the WebContent process
to check for efficient video codecs.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (235806 => 235807)


--- trunk/Source/WebKit/ChangeLog	2018-09-07 21:12:41 UTC (rev 235806)
+++ trunk/Source/WebKit/ChangeLog	2018-09-07 21:29:35 UTC (rev 235807)
@@ -1,3 +1,17 @@
+2018-09-07  Brent Fulgham  <[email protected]>
+
+        Allow WebContent access to AVCSupported IOKit property in sandbox
+        https://bugs.webkit.org/show_bug.cgi?id=189429
+        <rdar://problem/43612229>
+
+        Reviewed by Eric Carlson.
+
+        Allow access to the IOKit properties AVCSupported and HEVCSupported to allow the WebContent process
+        to check for efficient video codecs.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2018-09-07  Frederic Wang  <[email protected]>
 
         [CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (235806 => 235807)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2018-09-07 21:12:41 UTC (rev 235806)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2018-09-07 21:29:35 UTC (rev 235807)
@@ -324,9 +324,11 @@
 (allow iokit-get-properties
     (iokit-property-regex #"^AAPL,(DisplayPipe|OpenCLdisabled|IOGraphics_LER(|_RegTag_1|_RegTag_0|_Busy_2)|alias-policy|boot-display|display-alias|mux-switch-state|ndrv-dev|primary-display|slot-name)")
     (iokit-property "APTDevice")
+    (iokit-property "AVCSupported")
     (iokit-property-regex #"^AppleJPEG(NumCores|Supports(AppleInterchangeFormats|MissingEOI|RSTLogging))")
     (iokit-property "BaseAddressAlignmentRequirement")
     (iokit-property-regex #"^DisplayPipe(PlaneBaseAlignment|StrideRequirements)")
+    (iokit-property "HEVCSupported")
     (iokit-property-regex #"^IOGL(|ES(|Metal))BundleName")
     (iokit-property "IOGLESDefaultUseMetal")
     (iokit-property "IOClassNameOverride")

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (235806 => 235807)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-09-07 21:12:41 UTC (rev 235806)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-09-07 21:29:35 UTC (rev 235807)
@@ -199,6 +199,7 @@
     (iokit-property-regex #"Apple(GVAKeyDoesNotExist|IntelMEVABundleName)")
     (iokit-property-regex #"^AAPL,(DisplayPipe|OpenCLdisabled|IOGraphics_LER(|_RegTag_1|_RegTag_0|_Busy_2)|alias-policy|boot-display|display-alias|mux-switch-state|ndrv-dev|primary-display|slot-name)")
     (iokit-property-regex #"^ATY,(cbits|fb_(linebytes|offset|size)|intrev)")
+    (iokit-property "AVCSupported")
     (iokit-property "BacklightHandle")
     (iokit-property "BlockSize")
     (iokit-property-regex #"^CEA(ModeID|PixelRepetition)")
@@ -217,6 +218,7 @@
     (iokit-property "Formats")
     (iokit-property "GPUConfigurationVariable")
     (iokit-property "GpuDebugPolicy")
+    (iokit-property "HEVCSupported")
     (iokit-property "HIDPointerAccelerationType")
     (iokit-property-regex #"^IOAccel(DisplayPipeCapabilities|Index|Types|Revision)")
     (iokit-property-regex #"^IO(Class|MatchCategory|NameMatch)")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to