[webkit-changes] [WebKit/WebKit] 1c6723: [macOS] Quirk oracle.com to disable the Navigator....

Brent Fulgham noreply at github.com
Fri Jan 19 21:05:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c67239be368f5b2a3b12fdceb378d2d8e03acee
      https://github.com/WebKit/WebKit/commit/1c67239be368f5b2a3b12fdceb378d2d8e03acee
  Author: Brent Fulgham <bfulgham at apple.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M Source/WebCore/page/Navigator.idl
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  [macOS] Quirk oracle.com to disable the Navigator.standalone feature
https://bugs.webkit.org/show_bug.cgi?id=267784
<rdar://problem/117673533>

Reviewed by Chris Dumez.

Oracle.com uses the presence of `Navigator.standalone` to identify iPad devices.
If it sees a macOS browser with 'Navigator.standalone' defined it believes it is
an iPad, and deactivates Tooltip features.

We enabled standalone to better support web apps on macOS, causing this issue on
the Oracle site.

This patch Quirks Oracle so that tooltips work on macOS.

* Source/WebCore/page/Navigator.idl:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisableNavigatorStandaloneQuirk const):
* Source/WebCore/page/Quirks.h:

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




More information about the webkit-changes mailing list