Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Crash when trying to register a custom scheme before network process …
…has been launched https://bugs.webkit.org/show_bug.cgi?id=126385 Reviewed by Anders Carlsson. WebContext::registerSchemeForCustomProtocol() uses sendToNetworkingProcess() to send the message to the appropriate networking process. In the case of using web process, sendToNetworkingProcess() first checks if there's already a web process, doing nothing otherwise, but when using the network process it assumes there's already a network process. In both cases it's safe to do nothing, because the schemes will be passed as creation parameters to the process when launched. * UIProcess/WebContext.h: (WebKit::WebContext::sendToNetworkingProcess): Canonical link: https://commits.webkit.org/144465@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information