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

Issue 2661703002: [Prerender] Ignores resources with unsupported schemes for Offline reqs (Closed)

Created:
3 years, 10 months ago by dougarnett
Modified:
3 years, 10 months ago
CC:
chromium-reviews, Pete Williamson, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Prerender] Ignores resources with unsupported schemes for Offline reqs For offlining a page with the prerender, this changes the policy when encountering a resource with an unsupported scheme - instread of failing the prerender (as is done with other prerender requests), it will only cancel the unsupported resource and attempt to continue with prerendering. This has been tested end-end on 5 articles linked from www.foxsports.com that have a "blob:" subresource and with this change, we are able to download and offline version of them. BUG=686192 Review-Url: https://codereview.chromium.org/2661703002 Cr-Commit-Position: refs/heads/master@{#449337} Committed: https://chromium.googlesource.com/chromium/src/+/f1ba435af9338792a78fc422eb9cd1a51a14aa13

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed enum name in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -7 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_resource_throttle.cc View 1 1 chunk +12 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
dougarnett
pasko: code and concept review dimich, chili: concept review and consider for new background loader
3 years, 10 months ago (2017-01-27 21:30:11 UTC) #4
pasko
Overall this looks harmless to me, so I tend to just LG, glad that it ...
3 years, 10 months ago (2017-02-01 01:08:09 UTC) #8
dougarnett
Btw, I tried both letting the blob url load as well as suppressing them - ...
3 years, 10 months ago (2017-02-06 17:05:01 UTC) #9
dougarnett
Nate, are you able to give this CL a look? I'm happy to provide more ...
3 years, 10 months ago (2017-02-07 21:37:51 UTC) #10
Nate Chapin
On 2017/02/01 01:08:09, pasko wrote: > Overall this looks harmless to me, so I tend ...
3 years, 10 months ago (2017-02-07 21:47:56 UTC) #11
Nate Chapin
On 2017/02/07 21:37:51, dougarnett wrote: > Nate, are you able to give this CL a ...
3 years, 10 months ago (2017-02-07 21:49:03 UTC) #12
pasko
lgtm with tests pass
3 years, 10 months ago (2017-02-07 21:53:06 UTC) #13
Dmitry Titov
lgtm, thanks!
3 years, 10 months ago (2017-02-08 18:59:44 UTC) #14
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/2661703002/20001
3 years, 10 months ago (2017-02-09 16:41:45 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 17:29:26 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f1ba435af9338792a78fc422eb9c...

Powered by Google App Engine
This is Rietveld 408576698