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

Issue 2425863002: Allow image documents in MHT if there is only one resource. (Closed)

Created:
4 years, 2 months ago by dewittj
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow image documents in MHT if there is only one resource. MHTML could not show image documents as the main frame; this adds a check for suitable image mime types and allows them as the main frame. Also reorders the logic for clarity. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:win7_blink_dbg,linux_precise_blink_rel,mac10.9_blink_dbg,mac10.9_blink_rel,win7_blink_rel,mac10.10_blink_rel,mac10.11_blink_rel,mac10.11_retina_blink_rel,linux_trusty_blink_rel BUG=584866 Committed: https://crrev.com/9fd54d584c2449577e25f761c3ea5ba24a142850 Committed: https://crrev.com/d86f027d196d3b1e52101aaaefc3280217e962ae Cr-Original-Commit-Position: refs/heads/master@{#428193} Cr-Commit-Position: refs/heads/master@{#428435}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove the png tests. #

Patch Set 3 : Rebaselined. #

Patch Set 4 : Fix test expectations file #

Messages

Total messages: 51 (36 generated)
dewittj
PTAL, thanks! This adds a layout test for just image docs and also changes expectations ...
4 years, 2 months ago (2016-10-17 23:30:57 UTC) #5
Łukasz Anforowicz
LGTM https://codereview.chromium.org/2425863002/diff/1/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp File third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp (right): https://codereview.chromium.org/2425863002/diff/1/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp#newcode95 third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp:95: // be considered the main resource. I thought ...
4 years, 2 months ago (2016-10-18 00:46:41 UTC) #8
Dmitry Titov
LGTM, the tests seem still failing? Looks good to create a single-resource-which-is-image case, since this ...
4 years, 2 months ago (2016-10-18 01:20:12 UTC) #9
dewittj
eae@chromium.org: PTAL, thanks!
4 years, 1 month ago (2016-10-26 16:29:58 UTC) #17
eae
RS LGTM
4 years, 1 month ago (2016-10-26 16:34:47 UTC) #18
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/2425863002/40001
4 years, 1 month ago (2016-10-27 20:52:14 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win10_blink_rel on master.tryserver.blink (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-10-27 22:54:21 UTC) #33
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/2425863002/40001
4 years, 1 month ago (2016-10-27 23:03:25 UTC) #37
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-27 23:12:38 UTC) #39
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9fd54d584c2449577e25f761c3ea5ba24a142850 Cr-Commit-Position: refs/heads/master@{#428193}
4 years, 1 month ago (2016-10-27 23:16:11 UTC) #41
phoglund_chromium
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2460843002/ by phoglund@chromium.org. ...
4 years, 1 month ago (2016-10-28 09:51:43 UTC) #42
dewittj
relanding without the unintended changes to TestExpectations.
4 years, 1 month ago (2016-10-28 16:17:43 UTC) #44
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/2425863002/60001
4 years, 1 month ago (2016-10-28 16:18:20 UTC) #47
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-28 18:34:38 UTC) #49
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 19:08:55 UTC) #51
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d86f027d196d3b1e52101aaaefc3280217e962ae
Cr-Commit-Position: refs/heads/master@{#428435}

Powered by Google App Engine
This is Rietveld 408576698