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

Issue 2019303002: Add Document encoding to header preloaded requests (Closed)

Created:
4 years, 6 months ago by Yoav Weiss
Modified:
4 years, 6 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, chromium-reviews, gavinp+prerender_chromium.org, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Document encoding to header preloaded requests When resources were preloaded using Link: headers, they weren't requested with the document's charset, and therefore their decoding might have differed from non-preloaded resources. This CL fixes that by requesting them with the right encoding. BUG=615307 Committed: https://crrev.com/727d4183ad164bd4eaa4bde1c82eadb592e1c41c Cr-Commit-Position: refs/heads/master@{#396735}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/http/tests/preload/link_preload_charset.php View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js View 1 chunk +1 line, -0 lines 2 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Yoav Weiss
Hey Mike & Nate, Turns out that resource preloaded using headers weren't getting set with ...
4 years, 6 months ago (2016-05-30 09:15:42 UTC) #2
Mike West
Code looks fine! LGTM! I have no idea how the test works. Halp! https://codereview.chromium.org/2019303002/diff/1/third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js File ...
4 years, 6 months ago (2016-05-30 10:59:55 UTC) #3
Yoav Weiss
https://codereview.chromium.org/2019303002/diff/1/third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js File third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js (right): https://codereview.chromium.org/2019303002/diff/1/third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js#newcode1 third_party/WebKit/LayoutTests/http/tests/preload/resources/charset.js:1: window.preload_header = 'Кириллиця'; On 2016/05/30 10:59:55, Mike West (OOO ...
4 years, 6 months ago (2016-05-30 11:02:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019303002/1
4 years, 6 months ago (2016-05-30 15:48:08 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-05-30 15:51:25 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-05-30 15:52:53 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/727d4183ad164bd4eaa4bde1c82eadb592e1c41c
Cr-Commit-Position: refs/heads/master@{#396735}

Powered by Google App Engine
This is Rietveld 408576698