[webkit-changes] [WebKit/WebKit] 086582: Use sandbox API to set state variable

Per Arne Vollan noreply at github.com
Fri Jun 9 16:40:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08658287eb3994974f66fcf06df666c57f0168b2
      https://github.com/WebKit/WebKit/commit/08658287eb3994974f66fcf06df666c57f0168b2
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
    M Source/WebKit/Scripts/process-entitlements.sh
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

  Log Message:
  -----------
  Use sandbox API to set state variable
https://bugs.webkit.org/show_bug.cgi?id=257914
rdar://110549012

Reviewed by Brent Fulgham.

Use sandbox API to set state variable, instead of reading a preference to set the variable.
This patch also removes an unused sandbox state variable.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_appHighlightsVisible):
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

Canonical link: https://commits.webkit.org/265044@main




More information about the webkit-changes mailing list