Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ASSERTION FAILED: !m_processes[i] || *m_processes[i] == process in Me…
…ssagePortChannel::entanglePortWithProcess() https://bugs.webkit.org/show_bug.cgi?id=182054 <rdar://problem/36871207> Reviewed by Brady Eidson. Pipe postMessage messages to and from service workers via the UIProcess instead of going directly to the StorageProcess. This is temporarily needed to avoid races due to the MessagePort registry currently living in the UIProcess and postMessage messages potentially sending MessagePort objects. This change is covered by tests on the bots that currently flakily crash in debug. * StorageProcess/ServiceWorker/WebSWServerConnection.h: * StorageProcess/StorageProcess.cpp: (WebKit::StorageProcess::postMessageToServiceWorker): * StorageProcess/StorageProcess.h: * StorageProcess/StorageProcess.messages.in: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::postMessageToServiceWorkerClient): (WebKit::WebProcessPool::postMessageToServiceWorker): * UIProcess/WebProcessPool.h: * UIProcess/WebProcessPool.messages.in: * WebProcess/Storage/WebSWClientConnection.cpp: (WebKit::WebSWClientConnection::postMessageToServiceWorker): * WebProcess/Storage/WebSWContextManagerConnection.cpp: (WebKit::WebSWContextManagerConnection::postMessageToServiceWorkerClient): Canonical link: https://commits.webkit.org/198628@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
72 additions
and 4 deletions.
- +30 −0 Source/WebKit/ChangeLog
- +1 −2 Source/WebKit/StorageProcess/ServiceWorker/WebSWServerConnection.h
- +6 −0 Source/WebKit/StorageProcess/StorageProcess.cpp
- +2 −0 Source/WebKit/StorageProcess/StorageProcess.h
- +2 −0 Source/WebKit/StorageProcess/StorageProcess.messages.in
- +12 −0 Source/WebKit/UIProcess/WebProcessPool.cpp
- +5 −0 Source/WebKit/UIProcess/WebProcessPool.h
- +5 −0 Source/WebKit/UIProcess/WebProcessPool.messages.in
- +5 −1 Source/WebKit/WebProcess/Storage/WebSWClientConnection.cpp
- +4 −1 Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.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
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