forked from chromium/chromium
-
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.
service worker: Don't BadMessageReceived when a response for a timed …
…out request arrives If the worker is stopping, assume an unhandled message is due to the request timing out which triggered the stopping. I considered saving timed out request ids but it's a bit cumbersome: you have to store the IPC message type along with the request id which involves some changes to PendingRequest along with the data structure to hold the timed out requests. Seems more trouble than it's worth to avoid this bug, and we expect to migrate to Mojo soon anyway. BUG=625040 Review-Url: https://codereview.chromium.org/2150863002 Cr-Commit-Position: refs/heads/master@{#405477}
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
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