DescriptionCall EmbeddedWorkerDevToolsManager::WorkerDestroyed from SharedWorkerHost::WorkerContextClosed.
If SharedWorkerHost's closed flag is true SharedWorkerServiceImpl::FindSharedWorkerHost() doesn't match the host.
So two SharedWorkerHosts of same SharedWorkerInstance could be created.
But EmbeddedWorkerDevToolsManager can't handle two SharedWorkerHosts of same SharedWorkerInstance.
So we have to remove instance from EmbeddedWorkerDevToolsManager when WorkerContextClosed is called.
BUG=374387
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271463
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|