Title: [255638] branches/safari-610.1.1-branch/Source/WebKit
Revision
255638
Author
[email protected]
Date
2020-02-03 19:08:55 -0800 (Mon, 03 Feb 2020)

Log Message

Cherry-pick r255503. rdar://problem/58975614

    REGRESSION (r251511): [iOS] HDR Playback broken
    https://bugs.webkit.org/show_bug.cgi?id=207052
    <rdar://problem/58975614>

    Reviewed by Maciej Stachowiak.

    I missed an XPC service in Bug 203318 when I stopped importing the 'common.sb' sandbox. This broke some
    aspects of HDR playback for certain clients.

    This patch returns the XPC service, and unblocks access to a network preference file that AVFoundation
    needs to read to support some media playback features.

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

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-610.1.1-branch/Source/WebKit/ChangeLog (255637 => 255638)


--- branches/safari-610.1.1-branch/Source/WebKit/ChangeLog	2020-02-04 03:08:53 UTC (rev 255637)
+++ branches/safari-610.1.1-branch/Source/WebKit/ChangeLog	2020-02-04 03:08:55 UTC (rev 255638)
@@ -1,5 +1,43 @@
 2020-02-03  Russell Epstein  <[email protected]>
 
+        Cherry-pick r255503. rdar://problem/58975614
+
+    REGRESSION (r251511): [iOS] HDR Playback broken
+    https://bugs.webkit.org/show_bug.cgi?id=207052
+    <rdar://problem/58975614>
+    
+    Reviewed by Maciej Stachowiak.
+    
+    I missed an XPC service in Bug 203318 when I stopped importing the 'common.sb' sandbox. This broke some
+    aspects of HDR playback for certain clients.
+    
+    This patch returns the XPC service, and unblocks access to a network preference file that AVFoundation
+    needs to read to support some media playback features.
+    
+    * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-31  Brent Fulgham  <[email protected]>
+
+            REGRESSION (r251511): [iOS] HDR Playback broken
+            https://bugs.webkit.org/show_bug.cgi?id=207052
+            <rdar://problem/58975614>
+
+            Reviewed by Maciej Stachowiak.
+
+            I missed an XPC service in Bug 203318 when I stopped importing the 'common.sb' sandbox. This broke some
+            aspects of HDR playback for certain clients.
+
+            This patch returns the XPC service, and unblocks access to a network preference file that AVFoundation
+            needs to read to support some media playback features.
+
+            * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
+2020-02-03  Russell Epstein  <[email protected]>
+
         Cherry-pick r255458. rdar://problem/59016256
 
     Can still get stuck after swipe backwards with a slow server, even after r254552

Modified: branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (255637 => 255638)


--- branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-02-04 03:08:53 UTC (rev 255637)
+++ branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-02-04 03:08:55 UTC (rev 255638)
@@ -151,6 +151,7 @@
            (global-name "com.apple.coremedia.audioprocessingtap.xpc")
            (global-name "com.apple.coremedia.capturesession")      ; Actually for video capture
            (global-name "com.apple.coremedia.capturesource")       ; Also for video capture (<rdar://problem/15794291>).
+           (global-name "com.apple.coremedia.cpe.xpc") ; Needed for HDR playback.
            (global-name "com.apple.coremedia.customurlloader.xpc") ; Needed for custom media loading
            (global-name "com.apple.coremedia.formatreader.xpc")
            (global-name "com.apple.coremedia.player.xpc")
@@ -182,6 +183,10 @@
         "com.apple.audio.virtualaudio" ; <rdar://problem/57170333>
     )
 
+    ;; AVF needs to see these network preferences:
+    (allow file-read*
+        (literal "/private/var/preferences/com.apple.networkd.plist"))
+
     ;; Required by the MediaPlayer framework.
     (allow mach-lookup
         (global-name "com.apple.audio.AudioSession"))

Modified: branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (255637 => 255638)


--- branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-02-04 03:08:53 UTC (rev 255637)
+++ branches/safari-610.1.1-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-02-04 03:08:55 UTC (rev 255638)
@@ -165,6 +165,7 @@
            (global-name "com.apple.coremedia.audioprocessingtap.xpc")
            (global-name "com.apple.coremedia.capturesession")      ; Actually for video capture
            (global-name "com.apple.coremedia.capturesource")       ; Also for video capture (<rdar://problem/15794291>).
+           (global-name "com.apple.coremedia.cpe.xpc") ; Needed for HDR playback.
            (global-name "com.apple.coremedia.customurlloader.xpc") ; Needed for custom media loading
            (global-name "com.apple.coremedia.formatreader.xpc")
            (global-name "com.apple.coremedia.player.xpc")
@@ -196,6 +197,10 @@
         "com.apple.audio.virtualaudio" ; <rdar://problem/57170333>
     )
 
+    ;; AVF needs to see these network preferences:
+    (allow file-read*
+        (literal "/private/var/preferences/com.apple.networkd.plist"))
+
     ;; Required by the MediaPlayer framework.
     (allow mach-lookup
         (global-name "com.apple.audio.AudioSession"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to