|
Set referrer for CSS resources
The previous CL (r172433) was reverted because it caused regression.
This is second attempt to set referrer for css resource fetching.
- Add WebCore::Referrer (not String) object to CSSParserContext
- Pass the referrer to CSSImageValue, CSSImageSetValue, and CSSFontFaceSrcValue
- Set the referrer when fetching
BUG= 380457, 377864
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175519
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+317 lines, -23 lines) |
Patch |
 |
A |
LayoutTests/http/tests/css/css-resources-referrer.html
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/css-resources-referrer-expected.html
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/css-resources-referrer-srcdoc.html
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/css-resources-referrer-srcdoc-expected.html
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/resources/css-resources-referrer.css
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/resources/css-resources-referrer-import.css
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/css/resources/referrer-check.php
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/security/mixedContent/insecure-css-resources.html
|
View
|
|
2 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/security/mixedContent/insecure-css-resources-expected.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/security/mixedContent/resources/fetch-insecure-css-resources.css
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-css-resources.html
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSCursorImageValue.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSFontFaceSrcValue.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSFontFaceSrcValue.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSImageSetValue.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSImageSetValue.cpp
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSImageValue.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSImageValue.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParserMode.h
|
View
|
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSParserMode.cpp
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/StyleRuleImport.cpp
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
|
8 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLBodyElement.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableElement.cpp
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTablePartElement.cpp
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|