[webkit-changes] [WebKit/WebKit] 35e9da: Fix Recovery OS check

Per Arne Vollan noreply at github.com
Mon May 1 06:54:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35e9da7ba14a3fd154f864612ebc41bab9944431
      https://github.com/WebKit/WebKit/commit/35e9da7ba14a3fd154f864612ebc41bab9944431
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M Source/WTF/wtf/spi/darwin/OSVariantSPI.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm

  Log Message:
  -----------
  Fix Recovery OS check
https://bugs.webkit.org/show_bug.cgi?id=255836
rdar://108415551

Reviewed by Chris Dumez.

This patch was authored by Tuomas Karkkainen.

Fix Recovery OS check. Using getuid is not accurate.

* Source/WTF/wtf/spi/darwin/OSVariantSPI.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::isInRecoveryOS):

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




More information about the webkit-changes mailing list