Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Issue 315863003: Propagate the status in ServiceWorkerURLRequestJob::OnReadCompleted (Closed)

Created:
6 years, 6 months ago by horo
Modified:
6 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

Propagate 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M content/browser/service_worker/service_worker_url_request_job.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
horo
falken@ Could you please review this?
6 years, 6 months ago (2014-06-09 05:14:56 UTC) #1
falken
On 2014/06/09 05:14:56, horo wrote: > falken@ > Could you please review this? lgtm, thanks
6 years, 6 months ago (2014-06-09 20:05:35 UTC) #2
horo
The CQ bit was checked by horo@chromium.org
6 years, 6 months ago (2014-06-09 23:19:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/315863003/1
6 years, 6 months ago (2014-06-09 23:21:12 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 12:33:13 UTC) #5
Message was sent while issue was closed.
Change committed as 275995

Powered by Google App Engine
This is Rietveld 408576698