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

Issue 2708523003: Make ParsedContentType more conformant to the spec (Closed)

Created:
3 years, 10 months ago by yhirano
Modified:
3 years, 10 months ago
Reviewers:
kinuko
CC:
chromium-reviews, blink-reviews, kinuko+watch, tyoshino (SeeGerritForStatus)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ParsedContentType more conformant to the spec This CL fixes token and quoted-string handling. MHTML needs "relaxed" parsing, so this CL adds a mode for the usage. BUG=689731 Review-Url: https://codereview.chromium.org/2708523003 Cr-Commit-Position: refs/heads/master@{#452047} Committed: https://chromium.googlesource.com/chromium/src/+/53a17807c9046399134294373031a0633e75e3d6

Patch Set 1 : fix #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : fix #

Total comments: 8

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -103 lines) Patch
M third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/network/ParsedContentType.h View 1 2 3 4 5 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ParsedContentType.cpp View 1 2 3 4 5 2 chunks +142 lines, -80 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ParsedContentTypeTest.cpp View 1 2 3 4 4 chunks +40 lines, -18 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 45 (38 generated)
yhirano
3 years, 10 months ago (2017-02-21 08:27:43 UTC) #26
yhirano
See https://src.chromium.org/viewvc/blink?revision=158314&view=revision for the "relaxed" parsing.
3 years, 10 months ago (2017-02-21 10:23:14 UTC) #29
kinuko
https://codereview.chromium.org/2708523003/diff/140001/third_party/WebKit/Source/platform/network/ParsedContentType.cpp File third_party/WebKit/Source/platform/network/ParsedContentType.cpp (right): https://codereview.chromium.org/2708523003/diff/140001/third_party/WebKit/Source/platform/network/ParsedContentType.cpp#newcode100 third_party/WebKit/Source/platform/network/ParsedContentType.cpp:100: output = input.substring(start, index - start); nit: output could ...
3 years, 10 months ago (2017-02-21 11:43:02 UTC) #30
yhirano
https://codereview.chromium.org/2708523003/diff/140001/third_party/WebKit/Source/platform/network/ParsedContentType.cpp File third_party/WebKit/Source/platform/network/ParsedContentType.cpp (right): https://codereview.chromium.org/2708523003/diff/140001/third_party/WebKit/Source/platform/network/ParsedContentType.cpp#newcode100 third_party/WebKit/Source/platform/network/ParsedContentType.cpp:100: output = input.substring(start, index - start); On 2017/02/21 11:43:02, ...
3 years, 10 months ago (2017-02-22 05:17:03 UTC) #33
kinuko
lgtm
3 years, 10 months ago (2017-02-22 05:33:59 UTC) #34
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/2708523003/160001
3 years, 10 months ago (2017-02-22 14:53:44 UTC) #42
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 14:57:58 UTC) #45
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/53a17807c9046399134294373031...

Powered by Google App Engine
This is Rietveld 408576698