Chromium Code Reviews
Descriptionservice 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
Committed: https://crrev.com/b321c36b95fa43f0378ce82a222b89224d030a6a
Cr-Commit-Position: refs/heads/master@{#405477}
Patch Set 1 #
Total comments: 3
Patch Set 2 : comment and move expect #
Messages
Total messages: 10 (4 generated)
|
||||||||||||||||||||||||||||