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

Issue 737763002: Properly handle defers loading in WebURLLoaderImpl for data uris (Closed)

Created:
6 years, 1 month ago by João Eiras
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Properly handle defers loading in WebURLLoaderImpl for data uris BUG=418116 Committed: https://crrev.com/7f6143991b4b1b6024427d885ab90a665798eed1 Cr-Commit-Position: refs/heads/master@{#306274}

Patch Set 1 #

Total comments: 11

Patch Set 2 : unit test and comments #

Total comments: 1

Patch Set 3 : remove duplicate lines #

Patch Set 4 : More sturdy API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -2 lines) Patch
M content/child/web_url_loader_impl.cc View 1 2 3 5 chunks +20 lines, -1 line 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 1 2 3 2 chunks +39 lines, -1 line 0 comments Download

Messages

Total messages: 20 (4 generated)
João Eiras
This fix is related to https://codereview.chromium.org/625583002/ which includes some tests
6 years, 1 month ago (2014-11-18 15:12:47 UTC) #2
Ken Russell (switch to Gerrit)
CC'ing folks more likely to be good for reviewing this change.
6 years, 1 month ago (2014-11-18 20:41:26 UTC) #5
davidben
This is probably worth adding tests for. I see some data URL tests in web_url_loader_impl_unittest.cc ...
6 years, 1 month ago (2014-11-18 21:02:30 UTC) #6
jochen (gone - plz use gerrit)
can you add a unit test please? https://codereview.chromium.org/737763002/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/737763002/diff/1/content/child/web_url_loader_impl.cc#newcode357 content/child/web_url_loader_impl.cc:357: enum {NO_DEFER, ...
6 years, 1 month ago (2014-11-19 08:54:06 UTC) #7
João Eiras
https://codereview.chromium.org/737763002/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/737763002/diff/1/content/child/web_url_loader_impl.cc#newcode357 content/child/web_url_loader_impl.cc:357: enum {NO_DEFER, DEFERS, DEFERED_DATA} defers_loading_; On 2014/11/18 21:02:29, David ...
6 years, 1 month ago (2014-11-21 15:25:32 UTC) #8
davidben
lgtm with a comment on the test. https://codereview.chromium.org/737763002/diff/20001/content/child/web_url_loader_impl_unittest.cc File content/child/web_url_loader_impl_unittest.cc (right): https://codereview.chromium.org/737763002/diff/20001/content/child/web_url_loader_impl_unittest.cc#newcode533 content/child/web_url_loader_impl_unittest.cc:533: EXPECT_FALSE(client()->did_finish()); Why ...
6 years, 1 month ago (2014-11-21 18:34:00 UTC) #9
João Eiras
On 2014/11/18 21:02:30, David Benjamin wrote: > This is probably worth adding tests for. I ...
6 years ago (2014-11-24 13:25:41 UTC) #10
jochen (gone - plz use gerrit)
lgtm
6 years ago (2014-11-25 12:33:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/737763002/20002
6 years ago (2014-12-01 21:30:45 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:20002)
6 years ago (2014-12-01 22:39:45 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7f6143991b4b1b6024427d885ab90a665798eed1 Cr-Commit-Position: refs/heads/master@{#306274}
6 years ago (2014-12-01 22:40:32 UTC) #15
Ken Russell (switch to Gerrit)
A revert of this CL (patchset #3 id:20002) has been created in https://codereview.chromium.org/766963003/ by kbr@chromium.org. ...
6 years ago (2014-12-02 01:28:42 UTC) #16
João Eiras
David, Jochen and Ken, I made the unit test a bit more convoluted to test ...
6 years ago (2014-12-02 13:55:53 UTC) #17
Ken Russell (switch to Gerrit)
On 2014/12/02 13:55:53, João Eiras wrote: > David, Jochen and Ken, I made the unit ...
6 years ago (2014-12-02 19:47:06 UTC) #18
João Eiras
On 2014/12/02 19:47:06, Ken Russell wrote: > On 2014/12/02 13:55:53, João Eiras wrote: > > ...
6 years ago (2014-12-02 20:34:02 UTC) #19
Ken Russell (switch to Gerrit)
6 years ago (2014-12-03 00:05:31 UTC) #20
On 2014/12/02 20:34:02, João Eiras wrote:
> On 2014/12/02 19:47:06, Ken Russell wrote:
> > On 2014/12/02 13:55:53, João Eiras wrote:
> > > David, Jochen and Ken, I made the unit test a bit more convoluted to test
> for
> > > the kind of unorderly use the API was subjected to by the tests that
failed.
> > > Still lgtm ?
> > 
> > Could you please create a new CL and point to this one, rather than
re-landing
> > this again?
> > 
> 
> Sure

OK, thanks. I'm going to mark this as closed, assuming we'll review the new CL
instead.

> > Did your changes fix the test failures on the Blink side?
> 
> Yes. That was the point.

Great. Thanks for confirming.

Powered by Google App Engine
This is Rietveld 408576698