[webkit-changes] [WebKit/WebKit] 0a2730: Add quirk for TripAdvisor to support mixed content...

Brent Fulgham noreply at github.com
Tue Apr 30 09:24:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a2730dd7efa7b0fceccec9ae9b3f5d14acebd7f
      https://github.com/WebKit/WebKit/commit/0a2730dd7efa7b0fceccec9ae9b3f5d14acebd7f
  Author: Brent Fulgham <bfulgham at apple.com>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M Source/WebCore/loader/MixedContentChecker.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Add quirk for TripAdvisor to support mixed content in their Panorama feature
https://bugs.webkit.org/show_bug.cgi?id=273425
<rdar://112851939>

Reviewed by Matthew Finkel.

Add a quirk to allow TripAdvisor.com's Panorama feature to work despite their use of mixed
content in conjunction with crossorigin="" style. This brings Safari behavior in line with
Chrome, which performs the insecure content upgrade (even though the specification indicates
this should not happen).

* Source/WebCore/loader/MixedContentChecker.cpp:
(WebCore::destinationIsImageAudioOrVideo):
(WebCore::MixedContentChecker::shouldUpgradeInsecureContent):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsRelaxedCorsMixedContentCheckQuirk const):
* Source/WebCore/page/Quirks.h:

Canonical link: https://commits.webkit.org/278170@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