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

Issue 2780533002: Use Referrer-Policy headers for CSS stylesheets (Closed)

Created:
3 years, 9 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 8 months ago
Reviewers:
estark
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, blink-reviews-w3ctests_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, kinuko+watch, kozyatinskiy+blink_chromium.org, loading-reviews+parser_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rwlbuis, sof, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : updates #

Total comments: 9

Patch Set 4 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+495 lines, -26 lines) Patch
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-stylesheet.html View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/inline-style.html View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/internal-import-stylesheet.html View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/internal-stylesheet.html View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/presentation-attribute.html View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/processing-instruction.html View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/subresource/image.py View 1 chunk +18 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/subresource/stylesheet.py View 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/subresource/subresource.py View 2 chunks +7 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/stylesheet.css.template View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleRuleImport.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/StyleRuleImport.cpp View 1 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ProcessingInstruction.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/LinkStyle.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/LinkStyle.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp View 1 2 3 chunks +14 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp View 1 2 3 5 chunks +57 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/PreloadRequest.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/PreloadRequest.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/CSSStyleSheetResource.cpp View 3 chunks +23 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/LinkPreloadResourceClients.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/StyleSheetResourceClient.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
jochen (gone - plz use gerrit)
3 years, 9 months ago (2017-03-27 15:22:16 UTC) #1
jochen (gone - plz use gerrit)
still need to fix the test failure for inline stylesheets, and add a test for ...
3 years, 9 months ago (2017-03-27 15:23:01 UTC) #3
estark
(haven't looked at the tests yet) https://codereview.chromium.org/2780533002/diff/20001/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp File third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp (right): https://codereview.chromium.org/2780533002/diff/20001/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp#newcode306 third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp:306: cssPreloadScanner.scan(chunk, SegmentedString(), preloads, ...
3 years, 8 months ago (2017-03-28 11:26:23 UTC) #11
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2780533002/diff/20001/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp File third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp (right): https://codereview.chromium.org/2780533002/diff/20001/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp#newcode306 third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp:306: cssPreloadScanner.scan(chunk, SegmentedString(), preloads, On 2017/03/28 at 11:26:23, estark wrote: ...
3 years, 8 months ago (2017-03-28 13:08:34 UTC) #12
estark
https://codereview.chromium.org/2780533002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html File third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html (right): https://codereview.chromium.org/2780533002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html#newcode22 third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html:22: var crossOriginUrlPrefix = location.protocol + "//www1." + location.hostname + ...
3 years, 8 months ago (2017-03-28 18:17:21 UTC) #18
jochen (gone - plz use gerrit)
yeah, the wpt tests are pretty magic. The stylesheet references an image that stores the ...
3 years, 8 months ago (2017-03-28 18:49:37 UTC) #19
estark
Ahh, thanks for the wpt explanation. Tricky! lgtm % previous nits https://codereview.chromium.org/2780533002/diff/40001/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp File third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp (right): ...
3 years, 8 months ago (2017-03-28 18:59:54 UTC) #20
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2780533002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html File third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html (right): https://codereview.chromium.org/2780533002/diff/40001/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html#newcode22 third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html:22: var crossOriginUrlPrefix = location.protocol + "//www1." + location.hostname + ...
3 years, 8 months ago (2017-03-29 08:13:11 UTC) #21
jochen (gone - plz use gerrit)
also added a README.md to the css-integration directory to document the general structure of the ...
3 years, 8 months ago (2017-03-29 08:24:01 UTC) #23
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/2780533002/60001
3 years, 8 months ago (2017-03-29 08:24:11 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 10:47:31 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/57c4423dceffc997459ae34640ab...

Powered by Google App Engine
This is Rietveld 408576698