[webkit-changes] [WebKit/WebKit] c7229d: Add allowsFirstPartyForCookies in WebSharedWorkerS...

Chirag Shah noreply at github.com
Sat Feb 4 12:30:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7229df52bd1e42c1508970472b0e4792d24140c
      https://github.com/WebKit/WebKit/commit/c7229df52bd1e42c1508970472b0e4792d24140c
  Author: Chirag M Shah <chirag_m_shah at apple.com>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServerConnection.cpp

  Log Message:
  -----------
  Add allowsFirstPartyForCookies in WebSharedWorkerServerConnection::requestSharedWorker
https://bugs.webkit.org/show_bug.cgi?id=251720
rdar://105018668

Reviewed by Alex Christensen.

We need to add allowsFirstPartyForCookies when requesting shared worker
so that a compromised web process doesn't access cookies its not
supposed to.

* Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServerConnection.cpp:
(WebKit::WebSharedWorkerServerConnection::requestSharedWorker):

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




More information about the webkit-changes mailing list