[webkit-changes] [WebKit/WebKit] e2a7a0: Avoid unnecessary call to sandbox_enable_state_flag

Per Arne Vollan noreply at github.com
Tue Jun 13 09:02:47 PDT 2023


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

  Changed paths:
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Avoid unnecessary call to sandbox_enable_state_flag
https://bugs.webkit.org/show_bug.cgi?id=257981
rdar://110667778

Reviewed by Chris Dumez.

Calling sandbox_enable_state_flag with the variable BlockIOKitInWebContentSandbox is only needed
when WEBCONTENT_GPU_SANDBOX_EXTENSIONS_BLOCKING is not enabled. This patch also removes an
obsolete sandbox rule.

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

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




More information about the webkit-changes mailing list