[webkit-changes] [WebKit/WebKit] 65a8ef: Add correct firstPartyForCookies check in site-iso...

Alex Christensen noreply at github.com
Mon Nov 6 07:38:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65a8ef1b02fa61580c869b78535dbc669c74bb19
      https://github.com/WebKit/WebKit/commit/65a8ef1b02fa61580c869b78535dbc669c74bb19
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/page/Page.cpp
    M Source/WebKit/UIProcess/WebFrameProxy.cpp

  Log Message:
  -----------
  Add correct firstPartyForCookies check in site-isolated iframe processes
https://bugs.webkit.org/show_bug.cgi?id=264181
rdar://116201929

Reviewed by Pascoe.

I took a shortcut by allowing cookies everywhere, but it appears we now have the infrastructure
needed to do the proper checks with the right URLs.

* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::updateFirstPartyForCookies):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::setupForRemoteWorker):
* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::prepareForProvisionalNavigationInProcess):

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




More information about the webkit-changes mailing list