forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[extensions] Deal with a MessagePort being opened for a stopping worker
Calling GetRemoteAssociatedInterfaces requires that the worker be running. When a worker is requested to be stopped GetRemoteAssociatedInterfaces will cause a CHECK if IsLiveRunningServiceWorker is not checked before hand. It was not checeked in the DispatchOnConnect case but was in the UpdatePermissions case. Return nullptr for GetServiceWorker if we cannot make a connection. Bug: 1501112 Change-Id: I9fba8d59f570b56b82275a0f7c6b1caf8e4f9af3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5017446 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1223981}
- Loading branch information
Showing
3 changed files
with
15 additions
and
4 deletions.
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