[webkit-changes] [WebKit/WebKit] 371895: [macOS] Enable Navigator.standalone on macOS

Commit Queue noreply at github.com
Thu Jun 8 17:42:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37189534941033f3846ebc290a2c949159d372da
      https://github.com/WebKit/WebKit/commit/37189534941033f3846ebc290a2c949159d372da
  Author: Luming Yin <luming_yin at apple.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt
    M LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt
    M LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebCore/page/Navigator.cpp
    M Source/WebCore/page/Navigator.h

  Log Message:
  -----------
  [macOS] Enable Navigator.standalone on macOS
https://bugs.webkit.org/show_bug.cgi?id=257776
rdar://110362364

Reviewed by Tim Nguyen.

Enable Navigator.standalone for all Cocoa platforms, which including macOS and iOS.

* LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:
* LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
* LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt:
Rebaseline layout tests to reflect the availability of navigator.standalone.

* Source/WTF/wtf/PlatformEnableCocoa.h:
Same as above.

* Source/WebCore/page/Navigator.cpp:
* Source/WebCore/page/Navigator.h:
Change compile-time flag to check for ENABLE(NAVIGATOR_STANDALONE) instead of PLATFORM(IOS_FAMILY).

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




More information about the webkit-changes mailing list