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

Issue 2146773002: [Stream] Notify ReadObserver of Stream abortion (Closed)

Created:
4 years, 5 months ago by yhirano
Modified:
4 years, 5 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, falken, darin-cc_chromium.org, horo+watch_chromium.org, blink-reviews, kinuko+serviceworker, zork+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Stream] Notify ReadObserver of Stream abortion Currently there is no means to get notified when a content::Stream is aborted. As a result, when a fetch body stream created in a ServiceWorker is get errored, that error is not notified to the page. This CL fixes that problem by calling ReadObserver::OnDataAvailable when a content::Stream is aborted. BUG=627046 Committed: https://crrev.com/2ecb30baac7eed72a9729e0f7cdf84fe8cd7178d Cr-Commit-Position: refs/heads/master@{#406553}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 6

Patch Set 3 : done #

Total comments: 2

Patch Set 4 : fix #

Total comments: 2

Patch Set 5 : fix #

Messages

Total messages: 29 (12 generated)
yhirano
4 years, 5 months ago (2016-07-13 04:48:57 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2146773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html (right): https://codereview.chromium.org/2146773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html#newcode3 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html:3: <title>respond-with-response-stream-with-invalid-chunk</title> stream -> body? or use stream for there ...
4 years, 5 months ago (2016-07-13 06:09:36 UTC) #3
yhirano
https://codereview.chromium.org/2146773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html (right): https://codereview.chromium.org/2146773002/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html#newcode3 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html:3: <title>respond-with-response-stream-with-invalid-chunk</title> On 2016/07/13 06:09:35, tyoshino wrote: > stream -> ...
4 years, 5 months ago (2016-07-13 10:35:56 UTC) #4
tyoshino (SeeGerritForStatus)
lgtm
4 years, 5 months ago (2016-07-13 10:43:21 UTC) #5
falken
lgtm with comment https://codereview.chromium.org/2146773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html (right): https://codereview.chromium.org/2146773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html#newcode18 third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html:18: // body blob. The service worker ...
4 years, 5 months ago (2016-07-14 13:00:43 UTC) #6
yhirano
+zork@ for OWNER review
4 years, 5 months ago (2016-07-14 13:21:29 UTC) #8
yhirano
https://codereview.chromium.org/2146773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html (right): https://codereview.chromium.org/2146773002/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html#newcode18 third_party/WebKit/LayoutTests/http/tests/serviceworker/respond-with-response-body-with-invalid-chunk.html:18: // body blob. The service worker confirms it can ...
4 years, 5 months ago (2016-07-14 13:30:54 UTC) #9
yhirano
zork: ping
4 years, 5 months ago (2016-07-19 00:18:45 UTC) #10
yhirano
Hmm, zork@ looks no longer active. kinuko@, can you take a look at content changes?
4 years, 5 months ago (2016-07-20 05:06:44 UTC) #12
kinuko
lgtm https://codereview.chromium.org/2146773002/diff/60001/content/browser/streams/stream.cc File content/browser/streams/stream.cc (right): https://codereview.chromium.org/2146773002/diff/60001/content/browser/streams/stream.cc#newcode80 content/browser/streams/stream.cc:80: // Continue asynchronously. nit: A bit more detailed ...
4 years, 5 months ago (2016-07-20 06:35:59 UTC) #13
yhirano
https://codereview.chromium.org/2146773002/diff/60001/content/browser/streams/stream.cc File content/browser/streams/stream.cc (right): https://codereview.chromium.org/2146773002/diff/60001/content/browser/streams/stream.cc#newcode80 content/browser/streams/stream.cc:80: // Continue asynchronously. On 2016/07/20 06:35:59, kinuko wrote: > ...
4 years, 5 months ago (2016-07-20 11:30:20 UTC) #15
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/2146773002/80001
4 years, 5 months ago (2016-07-20 12:25:01 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/170466) chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 5 months ago (2016-07-20 12:51:25 UTC) #23
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/2146773002/80001
4 years, 5 months ago (2016-07-20 13:32:50 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-20 14:47:09 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 14:47:12 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 14:49:05 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2ecb30baac7eed72a9729e0f7cdf84fe8cd7178d
Cr-Commit-Position: refs/heads/master@{#406553}

Powered by Google App Engine
This is Rietveld 408576698