[webkit-changes] [WebKit/WebKit] 82fe81: Make host comparisons in Quirks case-sensitive, again

Anne van Kesteren noreply at github.com
Thu Mar 21 00:15:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82fe811f87857c4c494ad1532dcbcde028dce103
      https://github.com/WebKit/WebKit/commit/82fe811f87857c4c494ad1532dcbcde028dce103
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm

  Log Message:
  -----------
  Make host comparisons in Quirks case-sensitive, again
https://bugs.webkit.org/show_bug.cgi?id=271250

Reviewed by Sihui Liu.

Follow-up to 273228 at main as new case-insensitive checks appeared. The
URL parser canonicalizes hosts. SecurityOrigin is derived from a URL.

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
(WebCore::Quirks::needsCanPlayAfterSeekedQuirk const):
(WebCore::Quirks::shouldStarBePermissionsPolicyDefaultValue const):
(WebCore::Quirks::needsIpadMiniUserAgent):
* Source/WebCore/page/Quirks.h:
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::desktopClassBrowsingRecommendedForRequest):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list