DescriptionPropagate the status in ServiceWorkerURLRequestJob::OnReadCompleted
In current code, while reading a blob created by XMLHttpRequest, the status is set to IO_PENDING in ServiceWorkerURLRequestJob::ReadRawData.
But the status will not be updated even when complete reading.
So DCHECK(!request_->status().is_io_pending()) fails while reading the next chunk.
The status must be updated in OnReadCompleted.
BUG=382311
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275995
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|