Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2456802a5836d6d646d2b68d311e7ec192819922
      
https://github.com/WebKit/WebKit/commit/2456802a5836d6d646d2b68d311e7ec192819922
  Author: Matthew Finkel <[email protected]>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  Fix same-site cookie quirk for bing.com
https://bugs.webkit.org/show_bug.cgi?id=274985
rdar://128956265

Reviewed by Pascoe.

The original quirk only looked at the current document's URL. This was
insufficient because we need the quirk to apply on a cross-site from
https://login.microsoftonline.com to https://www.bing.com. Now this quirk
checks both the current document and the request URLs.

* 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/279675@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to