Title: [278492] branches/safari-611-branch/Source/WebKit
Revision
278492
Author
[email protected]
Date
2021-06-04 13:24:28 -0700 (Fri, 04 Jun 2021)

Log Message

Cherry-pick r277873. rdar://problem/78875406

    [Cocoa] REGRESSION(Sandbox): Font smoothing within Safari doesn't seem to respect AppleFontSmoothing
    https://bugs.webkit.org/show_bug.cgi?id=226066
    <rdar://problem/72795817>

    Reviewed by Per Arne Vollan.

    We accidentally blocked access to the relevant defaults database.

    It turns out this is untestable. I can't use the actual functionality without actually setting the preference
    for the whole user (and all their apps). And, I can't use sandbox_check() to make sure the file is readable
    because it's in the user's home directory, so the path to check will be different for every user.

    * WebProcess/com.apple.WebProcess.sb.in:

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

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/WebKit/ChangeLog (278491 => 278492)


--- branches/safari-611-branch/Source/WebKit/ChangeLog	2021-06-04 20:24:24 UTC (rev 278491)
+++ branches/safari-611-branch/Source/WebKit/ChangeLog	2021-06-04 20:24:28 UTC (rev 278492)
@@ -1,5 +1,41 @@
 2021-06-04  Alan Coon  <[email protected]>
 
+        Cherry-pick r277873. rdar://problem/78875406
+
+    [Cocoa] REGRESSION(Sandbox): Font smoothing within Safari doesn't seem to respect AppleFontSmoothing
+    https://bugs.webkit.org/show_bug.cgi?id=226066
+    <rdar://problem/72795817>
+    
+    Reviewed by Per Arne Vollan.
+    
+    We accidentally blocked access to the relevant defaults database.
+    
+    It turns out this is untestable. I can't use the actual functionality without actually setting the preference
+    for the whole user (and all their apps). And, I can't use sandbox_check() to make sure the file is readable
+    because it's in the user's home directory, so the path to check will be different for every user.
+    
+    * WebProcess/com.apple.WebProcess.sb.in:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-05-21  Myles C. Maxfield  <[email protected]>
+
+            [Cocoa] REGRESSION(Sandbox): Font smoothing within Safari doesn't seem to respect AppleFontSmoothing
+            https://bugs.webkit.org/show_bug.cgi?id=226066
+            <rdar://problem/72795817>
+
+            Reviewed by Per Arne Vollan.
+
+            We accidentally blocked access to the relevant defaults database.
+
+            It turns out this is untestable. I can't use the actual functionality without actually setting the preference
+            for the whole user (and all their apps). And, I can't use sandbox_check() to make sure the file is readable
+            because it's in the user's home directory, so the path to check will be different for every user.
+
+            * WebProcess/com.apple.WebProcess.sb.in:
+
+2021-06-04  Alan Coon  <[email protected]>
+
         Cherry-pick r277536. rdar://problem/78875336
 
     Replace PlatformCAAnimationRemote::KeyframeValue with Variant

Modified: branches/safari-611-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (278491 => 278492)


--- branches/safari-611-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-06-04 20:24:24 UTC (rev 278491)
+++ branches/safari-611-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-06-04 20:24:28 UTC (rev 278492)
@@ -827,6 +827,7 @@
     (home-subpath "/Library/Preferences/com.apple.universalaccess.plist")
     (home-subpath "/Library/Preferences/edu.mit.Kerberos.plist")
     (home-subpath "/Library/Preferences/pbs.plist")
+    (home-regex "/Library/Preferences/ByHost/\.GlobalPreferences\..*\.plist$")
 )
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to