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

Issue 2368913002: Fix stream errors that occur after a stream starts not propagating. (Closed)

Created:
4 years, 2 months ago by jam
Modified:
4 years, 2 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, Randy Smith (Not in Mondays), nhiroki, kinuko+serviceworker, darin-cc_chromium.org, blink-worker-reviews_chromium.org, loading-reviews_chromium.org, horo+watch_chromium.org, kinuko+watch, shimazu+serviceworker_chromium.org, kinuko+fileapi, mmenke, zork+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix stream errors that occur after a stream starts not propagating. Currently a stream was treated as having no errors even if an error occurs after reading starts. This change plumbs the error through. This fixes the following tests with PlzNavigate: ChromeURLDataManagerTest.LargeResourceScale ChromeURLDataManagerTest.UnknownResource BUG=426162, 508957, 504347 Committed: https://crrev.com/e87eeddc2e3bdba960c0803221864a1f8037b33b Cr-Commit-Position: refs/heads/master@{#421237}

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 10

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -36 lines) Patch
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_resource_handler.cc View 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/loader/stream_resource_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/loader/stream_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/stream_writer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/streams/stream.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/streams/stream.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/streams/stream_unittest.cc View 1 2 6 chunks +22 lines, -2 lines 0 comments Download
M content/browser/streams/stream_url_request_job.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/streams/stream_url_request_job.cc View 1 2 4 chunks +5 lines, -6 lines 0 comments Download
M content/browser/streams/stream_url_request_job_unittest.cc View 1 2 6 chunks +14 lines, -8 lines 0 comments Download
M content/public/test/browser_side_navigation_test_utils.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
jam
4 years, 2 months ago (2016-09-26 15:04:51 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2368913002/diff/20001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): https://codereview.chromium.org/2368913002/diff/20001/content/browser/fileapi/fileapi_message_filter.cc#newcode568 content/browser/fileapi/fileapi_message_filter.cc:568: stream->Finalize(0); net::OK https://codereview.chromium.org/2368913002/diff/20001/content/browser/streams/stream_unittest.cc File content/browser/streams/stream_unittest.cc (right): https://codereview.chromium.org/2368913002/diff/20001/content/browser/streams/stream_unittest.cc#newcode64 content/browser/streams/stream_unittest.cc:64: ...
4 years, 2 months ago (2016-09-27 10:24:56 UTC) #10
jam
https://codereview.chromium.org/2368913002/diff/20001/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): https://codereview.chromium.org/2368913002/diff/20001/content/browser/fileapi/fileapi_message_filter.cc#newcode568 content/browser/fileapi/fileapi_message_filter.cc:568: stream->Finalize(0); On 2016/09/27 10:24:56, tyoshino wrote: > net::OK Done. ...
4 years, 2 months ago (2016-09-27 15:41:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2368913002/40001
4 years, 2 months ago (2016-09-27 15:41:56 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-27 17:00:05 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 17:03:15 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e87eeddc2e3bdba960c0803221864a1f8037b33b
Cr-Commit-Position: refs/heads/master@{#421237}

Powered by Google App Engine
This is Rietveld 408576698