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

Issue 1424503006: Page Serializer: Specify encoding for serialized CSS files (Closed)

Created:
5 years, 1 month ago by jsbell
Modified:
5 years, 1 month ago
Reviewers:
pdr., yosin_UTC9
CC:
blink-reviews, chromium-reviews, jungshik at Google
Base URL:
https://chromium.googlesource.com/chromium/src.git@nfc-css
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Page Serializer: Specify encoding for serialized CSS files The input encoding (per a @charset attribute or Content-Type header) was used when serializing CSS files, but the encoding directive was not written back out. To fix, always write out the @charset directive per http://www.w3.org/International/questions/qa-css-charset BUG=548031 R=yosin@chromium.org TEST=webkit_unit_tests --gtest_filter='PageSerializerTest.CSS' Committed: https://crrev.com/f7030ffe17ea03cf8a2e9189d7d764dfd07da26a Cr-Commit-Position: refs/heads/master@{#357859}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M third_party/WebKit/Source/core/page/PageSerializer.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/PageSerializerTest.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
jsbell
yosin@ - please take a look? jshin@ - just FYI
5 years, 1 month ago (2015-10-27 17:36:38 UTC) #2
jsbell
https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp File third_party/WebKit/Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp#newcode400 third_party/WebKit/Source/core/page/PageSerializer.cpp:400: cssText.appendLiteral("@charset \""); We could skip this if the encoding ...
5 years, 1 month ago (2015-10-27 17:52:43 UTC) #3
yosin_UTC9
https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp File third_party/WebKit/Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp#newcode400 third_party/WebKit/Source/core/page/PageSerializer.cpp:400: cssText.appendLiteral("@charset \""); On 2015/10/27 at 17:52:43, jsbell wrote: > ...
5 years, 1 month ago (2015-10-28 00:14:57 UTC) #6
jsbell
Thanks! Counter-questions... https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp File third_party/WebKit/Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp#newcode400 third_party/WebKit/Source/core/page/PageSerializer.cpp:400: cssText.appendLiteral("@charset \""); On 2015/10/28 00:14:57, Yosi_OOO_til_Oct_30 wrote: ...
5 years, 1 month ago (2015-10-28 18:16:55 UTC) #7
yosin_UTC9
https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp File third_party/WebKit/Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp#newcode418 third_party/WebKit/Source/core/page/PageSerializer.cpp:418: // FIXME: We should check whether a charset has ...
5 years, 1 month ago (2015-10-30 01:57:02 UTC) #8
jsbell
Updated - please take a look? https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp File third_party/WebKit/Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1424503006/diff/1/third_party/WebKit/Source/core/page/PageSerializer.cpp#newcode400 third_party/WebKit/Source/core/page/PageSerializer.cpp:400: cssText.appendLiteral("@charset \""); On ...
5 years, 1 month ago (2015-11-02 23:55:38 UTC) #9
yosin_UTC9
lgtm
5 years, 1 month ago (2015-11-04 02:24:45 UTC) #10
yosin_UTC9
On 2015/11/04 at 02:24:45, Yosi_OOO_til_Oct_30 wrote: > lgtm In description: "so it would be treated ...
5 years, 1 month ago (2015-11-04 02:25:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424503006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424503006/20001
5 years, 1 month ago (2015-11-04 17:39:49 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/115514)
5 years, 1 month ago (2015-11-04 17:48:49 UTC) #18
jsbell
Whoops, need owner. pdr@ - can you approve?
5 years, 1 month ago (2015-11-04 18:10:51 UTC) #20
pdr.
lgtm
5 years, 1 month ago (2015-11-04 18:11:42 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424503006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424503006/20001
5 years, 1 month ago (2015-11-04 18:11:58 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-04 18:50:22 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 18:51:34 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f7030ffe17ea03cf8a2e9189d7d764dfd07da26a
Cr-Commit-Position: refs/heads/master@{#357859}

Powered by Google App Engine
This is Rietveld 408576698