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

Issue 1027623003: Archive loading should be case insensitive to mimetype "multipart/related" (Closed)

Created:
5 years, 9 months ago by samahto
Modified:
5 years, 8 months ago
Reviewers:
sof, Mike West
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Archive loading should be case insensitive to mimetype "multipart/related" Before this patch only archive with lowercase mimetype is loaded.Since mimetype is case insensitive subject so browser should also load archive whose mimetype contains uppercase character. BUG=None TEST=LayoutTests/mhtml/mhtml-with-capital-mimetype-loading.mht Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194450

Patch Set 1 #

Patch Set 2 : Added test case. #

Patch Set 3 : Updated with small modification #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : Minor changes #

Patch Set 6 : .mht uploaded as binary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
A LayoutTests/mhtml/mhtml-with-capital-mimetype-loading.mht View 1 2 3 4 Binary file 0 comments Download
A LayoutTests/mhtml/mhtml-with-capital-mimetype-loading-expected.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/mhtml/MHTMLParser.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 49 (22 generated)
samahto
5 years, 9 months ago (2015-03-21 08:21:26 UTC) #2
Nate Chapin
On 2015/03/21 08:21:26, samahto wrote: This code change looks fine. Test?
5 years, 9 months ago (2015-03-23 16:55:55 UTC) #3
samahto
On 2015/03/23 16:55:55, Nate Chapin wrote: > On 2015/03/21 08:21:26, samahto wrote: > > This ...
5 years, 8 months ago (2015-03-31 16:29:56 UTC) #4
Nate Chapin
On 2015/03/31 16:29:56, samahto wrote: > On 2015/03/23 16:55:55, Nate Chapin wrote: > > On ...
5 years, 8 months ago (2015-03-31 17:50:40 UTC) #5
samahto
On 2015/03/31 17:50:40, Nate Chapin wrote: > On 2015/03/31 16:29:56, samahto wrote: > > On ...
5 years, 8 months ago (2015-04-05 10:14:57 UTC) #6
samahto
On 2015/04/05 10:14:57, samahto wrote: > On 2015/03/31 17:50:40, Nate Chapin wrote: > > On ...
5 years, 8 months ago (2015-04-05 18:19:13 UTC) #7
samahto
I have updated the patch. Now patch is ready for review.
5 years, 8 months ago (2015-04-06 02:50:44 UTC) #8
sof
https://codereview.chromium.org/1027623003/diff/40001/Source/platform/mhtml/MHTMLParser.cpp File Source/platform/mhtml/MHTMLParser.cpp (right): https://codereview.chromium.org/1027623003/diff/40001/Source/platform/mhtml/MHTMLParser.cpp#newcode68 Source/platform/mhtml/MHTMLParser.cpp:68: bool isMultipart() const { return m_contentType.lower().startsWith("multipart/"); } startsWith() takes ...
5 years, 8 months ago (2015-04-06 05:27:36 UTC) #9
samahto
On 2015/04/06 05:27:36, sof wrote: > https://codereview.chromium.org/1027623003/diff/40001/Source/platform/mhtml/MHTMLParser.cpp > File Source/platform/mhtml/MHTMLParser.cpp (right): > > https://codereview.chromium.org/1027623003/diff/40001/Source/platform/mhtml/MHTMLParser.cpp#newcode68 > ...
5 years, 8 months ago (2015-04-07 10:18:54 UTC) #10
sof
lgtm, thanks for fixing this. You'll need approval for the Source/platform/ change though ( Cc:'ed ...
5 years, 8 months ago (2015-04-07 13:00:43 UTC) #13
Mike West
LGTM.
5 years, 8 months ago (2015-04-07 13:27:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/60001
5 years, 8 months ago (2015-04-07 14:43:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/60001
5 years, 8 months ago (2015-04-07 15:04:56 UTC) #20
samahto
5 years, 8 months ago (2015-04-07 15:06:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/60001
5 years, 8 months ago (2015-04-07 15:08:28 UTC) #27
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/56208)
5 years, 8 months ago (2015-04-07 18:37:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/60001
5 years, 8 months ago (2015-04-08 02:31:42 UTC) #31
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/56337)
5 years, 8 months ago (2015-04-08 05:47:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/60001
5 years, 8 months ago (2015-04-08 19:36:28 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/51022)
5 years, 8 months ago (2015-04-08 23:40:42 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/80001
5 years, 8 months ago (2015-04-11 11:29:15 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/51460)
5 years, 8 months ago (2015-04-11 15:47:20 UTC) #42
samahto
commit-bot is failing because review board is replacing CRLF to LF.I dont't know how to ...
5 years, 8 months ago (2015-04-13 07:20:30 UTC) #43
samahto
On 2015/04/07 13:00:43, sof wrote: > lgtm, thanks for fixing this. > > You'll need ...
5 years, 8 months ago (2015-04-13 09:59:19 UTC) #44
sof
On 2015/04/13 09:59:19, samahto wrote: > On 2015/04/07 13:00:43, sof wrote: > > lgtm, thanks ...
5 years, 8 months ago (2015-04-23 07:57:54 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027623003/100001
5 years, 8 months ago (2015-04-26 12:18:53 UTC) #48
commit-bot: I haz the power
5 years, 8 months ago (2015-04-26 13:33:47 UTC) #49
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194450

Powered by Google App Engine
This is Rietveld 408576698