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

Issue 1154413002: Make multipart image documents work again. (Closed)

Created:
5 years, 7 months ago by Nate Chapin
Modified:
5 years, 6 months ago
Reviewers:
sof, Mike West
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, rwlbuis, sof, tyoshino+watch_chromium.org, Yoav Weiss
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make multipart image documents work again. We used to have generic multipart main resource plumbing, which was removed in https://codereview.chromium.org/16848005. However, we can implement narrow support for just multipage images as the main resource (i.e., mjpeg) with relatively minor modifications to ImageDocument. BUG=308999 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196101

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : +test #

Total comments: 7

Patch Set 5 : Revert Resource.h change #

Patch Set 6 : Fix excessive clumsiness #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -24 lines) Patch
A LayoutTests/http/tests/multipart/multipart-main-resource.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/multipart/multipart-main-resource-expected.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/ImageResource.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/fetch/ImageResource.cpp View 1 2 3 4 7 chunks +10 lines, -8 lines 0 comments Download
M Source/core/fetch/ImageResourceTest.cpp View 1 5 chunks +19 lines, -7 lines 0 comments Download
M Source/core/fetch/ResourceLoader.h View 1 4 chunks +5 lines, -1 line 0 comments Download
M Source/core/fetch/ResourceLoader.cpp View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/html/ImageDocument.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ImageDocument.cpp View 1 2 3 7 chunks +23 lines, -5 lines 0 comments Download
M Source/core/loader/DocumentLoader.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Nate Chapin
https://codereview.chromium.org/1154413002/diff/60001/Source/core/fetch/ImageResourceTest.cpp File Source/core/fetch/ImageResourceTest.cpp (right): https://codereview.chromium.org/1154413002/diff/60001/Source/core/fetch/ImageResourceTest.cpp#newcode224 Source/core/fetch/ImageResourceTest.cpp:224: ASSERT_EQ(client.imageChangedCount(), 2); Because this test no longer unnecessarily uses ...
5 years, 7 months ago (2015-05-27 20:45:25 UTC) #2
Mike West
LGTM in general, but I'm not sure about the check in Resource.h. https://codereview.chromium.org/1154413002/diff/60001/Source/core/fetch/Resource.h File Source/core/fetch/Resource.h ...
5 years, 6 months ago (2015-05-28 05:51:54 UTC) #3
Nate Chapin
https://codereview.chromium.org/1154413002/diff/60001/Source/core/fetch/Resource.h File Source/core/fetch/Resource.h (right): https://codereview.chromium.org/1154413002/diff/60001/Source/core/fetch/Resource.h#newcode173 Source/core/fetch/Resource.h:173: bool canBeMultipart() const { return type() == Image || ...
5 years, 6 months ago (2015-05-28 17:44:24 UTC) #4
Mike West
On 2015/05/28 at 17:44:24, japhet wrote: > We fail. I was hoping to convey some ...
5 years, 6 months ago (2015-05-28 18:26:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1154413002/80001
5 years, 6 months ago (2015-05-28 22:02:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63758)
5 years, 6 months ago (2015-05-28 22:38:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1154413002/100001
5 years, 6 months ago (2015-05-28 23:08:38 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 00:20:40 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196101

Powered by Google App Engine
This is Rietveld 408576698