Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3406f735d02b02f588b0c954e9ccce27b23221df
      
https://github.com/WebKit/WebKit/commit/3406f735d02b02f588b0c954e9ccce27b23221df
  Author: Anne van Kesteren <[email protected]>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M Source/WebCore/Modules/websockets/WebSocket.cpp
    M Source/WebCore/Modules/websockets/WebSocket.h
    M Source/WebCore/dom/BroadcastChannel.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/MessageEvent.cpp
    M Source/WebCore/dom/MessageEvent.h
    M Source/WebCore/page/EventSource.cpp
    M Source/WebCore/page/EventSource.h
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/page/LocalDOMWindow.h
    M Source/WebCore/page/RemoteDOMWindow.cpp
    M Source/WebCore/page/RemoteFrameClient.h
    M Source/WebCore/workers/service/ExtendableMessageEvent.cpp
    M Source/WebCore/workers/service/ExtendableMessageEvent.h
    M Source/WebCore/workers/service/SWClientConnection.cpp
    M Source/WebCore/workers/service/SWClientConnection.h
    M Source/WebCore/workers/service/ServiceWorkerClient.cpp
    M Source/WebCore/workers/service/ServiceWorkerClientPendingMessage.h
    M Source/WebCore/workers/service/ServiceWorkerContainer.cpp
    M Source/WebCore/workers/service/ServiceWorkerContainer.h
    M Source/WebCore/workers/service/context/SWContextManager.h
    M Source/WebCore/workers/service/context/ServiceWorkerThread.cpp
    M Source/WebCore/workers/service/server/SWServer.cpp
    M Source/WebCore/workers/service/server/SWServer.h
    M Source/WebCore/workers/shared/SharedWorkerGlobalScope.cpp
    M Source/WebCore/workers/shared/SharedWorkerGlobalScope.h
    M Source/WebCore/workers/shared/context/SharedWorkerContextManager.cpp
    M Source/WebCore/workers/shared/context/SharedWorkerContextManager.h
    M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp
    M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h
    M 
Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.cpp
    M 
Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h
    M 
Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.messages.in
    M 
Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServerToContextConnection.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.messages.in
    M Source/WebKit/WebProcess/Storage/WebSWClientConnection.messages.in
    M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
    M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.h
    M 
Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.messages.in
    M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in

  Log Message:
  -----------
  Make MessageEvent and ExtendableMessageEvent hold a SecurityOrigin
https://bugs.webkit.org/show_bug.cgi?id=303629
rdar://165916784

Reviewed by Alex Christensen.

This is meant to be a strict refactoring driven by the needs of the
Origin API (bug 302785) which needs to be able to derive consistent
opaque origins from message events.

As such this should be covered by existing tests.

In MessageEvent.cpp we also tidy up an existing WTF::switchOn.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to