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

Issue 1986053003: Remove default charset of dataURL request (Closed)

Created:
4 years, 7 months ago by Peng Xinchao
Modified:
3 years, 6 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, Nate Chapin, Mike West
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove default charset of dataURL request It is a special case. DataURL is not include chareset field ,data of DataURL is HTML and it include '<meta charset="UTF-8">'. so data of DataURL should UTF-8 charset . But because the charset of DataURL is setted by default charset 'US-ASCII', it lead to that m_source of TextResourceDecoder::checkForMetaCharset function is EncodingFromHTTPHeader, it return directly and can not continue to check meta tag. BUG=612104 Signed-off-by: Peng Xinchao <pxinchao@gmail.com>;

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add testcase #

Patch Set 3 : for RFC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M net/base/data_url.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/loader/data-url-charset.html View 1 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/loader/data-url-charset-expected.html View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
davve
It looks like you're on the track of something here but I'm not a good ...
4 years, 7 months ago (2016-05-17 14:00:28 UTC) #5
mmenke
[+asanka], who knows more about mime types than I do. Seems weird to me that ...
4 years, 7 months ago (2016-05-17 15:08:56 UTC) #7
Devlin
On 2016/05/17 14:00:28, David Vest wrote: > It looks like you're on the track of ...
4 years, 7 months ago (2016-05-17 17:01:28 UTC) #8
Peng Xinchao
On 2016/05/17 15:08:56, mmenke wrote: > [+asanka], who knows more about mime types than I ...
4 years, 7 months ago (2016-05-18 02:01:08 UTC) #9
mmenke
On 2016/05/18 02:01:08, pxinchao wrote: > On 2016/05/17 15:08:56, mmenke wrote: > > [+asanka], who ...
4 years, 7 months ago (2016-05-18 03:56:50 UTC) #10
mmenke
On 2016/05/18 03:56:50, mmenke wrote: > On 2016/05/18 02:01:08, pxinchao wrote: > > On 2016/05/17 ...
4 years, 7 months ago (2016-05-18 04:03:20 UTC) #11
Peng Xinchao
On 2016/05/18 04:03:20, mmenke wrote: > On 2016/05/18 03:56:50, mmenke wrote: > > On 2016/05/18 ...
4 years, 7 months ago (2016-05-18 05:20:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986053003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986053003/40001
4 years, 7 months ago (2016-05-18 07:54:06 UTC) #14
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-05-18 07:54:08 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986053003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986053003/40001
4 years, 7 months ago (2016-05-18 18:00:33 UTC) #18
commit-bot: I haz the power
Dry run: The author pxinchao@gmail.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
4 years, 7 months ago (2016-05-18 18:00:36 UTC) #20
Peng Xinchao
hi ,mmenke. How about the Path Set 3? Do you have idea?
4 years, 7 months ago (2016-05-19 01:06:49 UTC) #21
mmenke
On 2016/05/19 01:06:49, pxinchao wrote: > hi ,mmenke. > How about the Path Set 3? ...
4 years, 7 months ago (2016-05-19 17:38:45 UTC) #22
asanka
Sorry about the delay. There are several rules at play here and I believe the ...
4 years, 7 months ago (2016-05-19 19:17:51 UTC) #23
Peng Xinchao
On 2016/05/19 19:17:51, asanka wrote: > Sorry about the delay. > > There are several ...
4 years, 7 months ago (2016-05-20 02:00:41 UTC) #25
kouhei (in TOK)
On 2016/05/20 02:00:41, pxinchao wrote: > On 2016/05/19 19:17:51, asanka wrote: > > Sorry about ...
4 years, 7 months ago (2016-05-20 02:13:14 UTC) #26
Peng Xinchao
4 years, 6 months ago (2016-06-17 11:10:28 UTC) #28

          

Powered by Google App Engine
This is Rietveld 408576698