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

Issue 2795073003: Treat responses with LoFi headers as being LoFi images. (Closed)

Created:
3 years, 8 months ago by sclittle
Modified:
3 years, 8 months ago
Reviewers:
Nate Chapin, megjablon
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Treat responses with LoFi headers as being LoFi images. Before this CL, if a LoFi image was somehow loaded without the SERVER_LOFI_ON previews state bit set on the respective request, Blink would not reload that image if the user opts out of the LoFi experience on that page. This CL causes Blink to recognize any loaded image with the LoFi response headers as a LoFi image, regardless of its previews state bits. BUG=707916 Review-Url: https://codereview.chromium.org/2795073003 Cr-Commit-Position: refs/heads/master@{#462686} Committed: https://chromium.googlesource.com/chromium/src/+/c80839644b4cb376602ec2e600229c49cece3509

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -14 lines) Patch
M third_party/WebKit/Source/core/loader/resource/ImageResource.cpp View 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp View 1 3 chunks +45 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
sclittle
3 years, 8 months ago (2017-04-03 23:39:11 UTC) #2
megjablon
lgtm % comments https://codereview.chromium.org/2795073003/diff/1/third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp File third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp (right): https://codereview.chromium.org/2795073003/diff/1/third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp#newcode552 third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp:552: ReloadIfLoFiOrPlaceholderAfterFinishedWithoutServerLoFiOnBit) { Do we need this ...
3 years, 8 months ago (2017-04-04 00:52:07 UTC) #3
sclittle
https://codereview.chromium.org/2795073003/diff/1/third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp File third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp (right): https://codereview.chromium.org/2795073003/diff/1/third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp#newcode552 third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp:552: ReloadIfLoFiOrPlaceholderAfterFinishedWithoutServerLoFiOnBit) { On 2017/04/04 00:52:06, megjablon wrote: > Do ...
3 years, 8 months ago (2017-04-04 03:12:16 UTC) #4
sclittle
@japhet: Friendly ping! I want to get this fix in ASAP so that it can ...
3 years, 8 months ago (2017-04-06 18:37:46 UTC) #5
Nate Chapin
lgtm
3 years, 8 months ago (2017-04-06 22:01:40 UTC) #6
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/2795073003/20001
3 years, 8 months ago (2017-04-06 22:04:54 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 23:43:23 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c80839644b4cb376602ec2e60022...

Powered by Google App Engine
This is Rietveld 408576698