[webkit-changes] [WebKit/WebKit] 40de96: Add site quirk that adjusts a request's same-site ...

Commit Queue noreply at github.com
Thu May 2 13:46:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 40de96c244426a7bc509135f530794c9e81d80b6
      https://github.com/WebKit/WebKit/commit/40de96c244426a7bc509135f530794c9e81d80b6
  Author: Matthew Finkel <m_finkel at apple.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

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

  Log Message:
  -----------
  Add site quirk that adjusts a request's same-site property
https://bugs.webkit.org/show_bug.cgi?id=273607
rdar://123657946

Reviewed by Chris Dumez.

Enforcing same-site requests resolves some compatibility issues. This change
introduces a quirk for setting the request as same-site in some specific cases
where it is safe.

* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::addSameSiteInfoToRequestIfNeeded):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsLaxSameSiteCookieQuirk const):
* Source/WebCore/page/Quirks.h:

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