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

Issue 2766733002: Reland of allow MojoAsyncResourceHandler::OnWillRead to complete asyncronously (Closed)

Created:
3 years, 9 months ago by mmenke
Modified:
3 years, 8 months ago
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/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of https://codereview.chromium.org/2738973002. It failed to mark a request as unblocked before resuming it. Unittests didn't catch this because they don't actually drive a URLRequest, which is where the failing DCHECK was. Reason for revert: This CL leads to a layout test crash. virtual/mojo-loading/http/tests/serviceworker/chromium/request-body-blob-crash.html Original issue's description: > Allow MojoAsyncResourceHandler::OnWillRead to complete asyncronously > when a Mojo buffer can't be allocated synchronously. > > The class still needs to create its own intermediary buffer > when the Mojo buffer is too small to meet the > MimeSniffingResourceHandler's needs, but once that's fixed, > the class can be made significantly simpler. > > BUG=687240 > > Review-Url: https://codereview.chromium.org/2738973002 > Cr-Commit-Position: refs/heads/master@{#458093} > Committed: https://chromium.googlesource.com/chromium/src/+/2ba831790eccdf8fa9178eef72b8479a12a2f8aa Revert info: > Review-Url: https://codereview.chromium.org/2760223002 > Cr-Commit-Position: refs/heads/master@{#458297} BUG=687240, 703471

Patch Set 1 : Original CL (Merged to trunk - uninteresting merge) #

Patch Set 2 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -110 lines) Patch
M content/browser/loader/mock_resource_loader.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler.h View 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler.cc View 1 11 chunks +71 lines, -61 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 8 chunks +151 lines, -49 lines 0 comments Download

Messages

Total messages: 40 (33 generated)
mmenke
Just a silly little fix - tests didn't catch it because a DCHECK in URLRequest ...
3 years, 9 months ago (2017-03-21 21:16:54 UTC) #7
mmenke
On 2017/03/21 21:16:54, mmenke wrote: > Just a silly little fix - tests didn't catch ...
3 years, 9 months ago (2017-03-21 21:18:51 UTC) #12
Randy Smith (Not in Mondays)
*nodsigh* around lack of integration tests in content/. LGTM.
3 years, 9 months ago (2017-03-21 21:28:54 UTC) #27
mmenke
On 2017/03/21 21:28:54, Randy Smith (Not in Mondays) wrote: > *nodsigh* around lack of integration ...
3 years, 9 months ago (2017-03-21 21:29:55 UTC) #29
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/2766733002/20001
3 years, 9 months ago (2017-03-21 21:30:32 UTC) #30
mmenke
On 2017/03/21 21:30:32, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 9 months ago (2017-03-21 21:35:47 UTC) #37
mmenke
3 years, 9 months ago (2017-03-21 21:36:56 UTC) #38
On 2017/03/21 21:35:47, mmenke wrote:
> On 2017/03/21 21:30:32, commit-bot: I haz the power wrote:
> > CQ is trying da patch. Follow status at
> >  
> >
>
https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
> 
> Gah!  Already landed...I accidentally copied the NOTRY from the revert's
> description.

Given the nature of the change, I'll just watch the tree, rather than reverting.

Powered by Google App Engine
This is Rietveld 408576698