Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
SerializedScriptValue passed to postMessage() cannot be null
https://bugs.webkit.org/show_bug.cgi?id=178550 Reviewed by Youenn Fablet. SerializedScriptValue passed to postMessage() cannot be null. Therefore, we should use Ref<> type, not RefPtr<>. * dom/MessagePortChannel.h: * dom/default/PlatformMessagePortChannel.cpp: (WebCore::MessagePortChannel::postMessageToRemote): * workers/WorkerGlobalScopeProxy.h: * workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::postMessageToWorkerObject): (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope): * workers/WorkerMessagingProxy.h: * workers/WorkerObjectProxy.h: * workers/service/context/ServiceWorkerThread.cpp: Canonical link: https://commits.webkit.org/194744@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
30 additions
and 9 deletions.
- +21 −0 Source/WebCore/ChangeLog
- +1 −1 Source/WebCore/dom/MessagePortChannel.h
- +1 −1 Source/WebCore/dom/default/PlatformMessagePortChannel.cpp
- +1 −1 Source/WebCore/workers/WorkerGlobalScopeProxy.h
- +2 −2 Source/WebCore/workers/WorkerMessagingProxy.cpp
- +2 −2 Source/WebCore/workers/WorkerMessagingProxy.h
- +1 −1 Source/WebCore/workers/WorkerObjectProxy.h
- +1 −1 Source/WebCore/workers/service/context/ServiceWorkerThread.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters