This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Creating a shared worker connection should retry without providing a …
…specific webprocess https://bugs.webkit.org/show_bug.cgi?id=246999 rdar://101506812 Reviewed by Chris Dumez. We were trying to create a context connection of a shared worker by always sending a particular target process. If this process is terminated for instance, the network process will think that the connection should be there. But no context connection is there, so it retries to create a context connection, with the same target process. This triggers a loop. To break the loop, we try using the first target process on the first try but not on successive tries. UIProcess, on second try, will then try some other processes, typically by creating a new process. * Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServer.cpp: (WebKit::WebSharedWorkerServer::createContextConnection): Canonical link: https://commits.webkit.org/255968@main
- Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.