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

Issue 2484933002: MojoAsyncResourceHandler: Ignore Resume/OnWritable calls after error. (Closed)

Created:
4 years, 1 month ago by mmenke
Modified:
4 years, 1 month ago
Reviewers:
yhirano
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, Randy Smith (Not in Mondays), yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, loading-reviews_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MojoAsyncResourceHandler: Ignore Resume/OnWritable calls after error. If the Resume succeed after an error, we end up in an indeterminant state, which would be bad. Uncear if that can happen, but easy to prevent it. BUG=663053 Committed: https://crrev.com/f12e05a01aba7dadd32003da6149d0a2f9cd3d52 Cr-Commit-Position: refs/heads/master@{#430582}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M content/browser/loader/mojo_async_resource_handler.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (7 generated)
mmenke
Does this seem reasonable? The BeginWriteFailsOnResume and EndWriteFailsOnResumeWithInsufficientInitialCapicity tests result in cancelling multiple times because ...
4 years, 1 month ago (2016-11-07 21:08:27 UTC) #4
mmenke
On 2016/11/07 21:08:27, mmenke wrote: > Does this seem reasonable? > > The BeginWriteFailsOnResume and ...
4 years, 1 month ago (2016-11-07 21:09:34 UTC) #5
yhirano
lgtm, thanks.
4 years, 1 month ago (2016-11-08 11:45:33 UTC) #8
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/2484933002/1
4 years, 1 month ago (2016-11-08 11:46:58 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-08 11:51:24 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 11:53:53 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f12e05a01aba7dadd32003da6149d0a2f9cd3d52
Cr-Commit-Position: refs/heads/master@{#430582}

Powered by Google App Engine
This is Rietveld 408576698