|
Add unit and layout test to <link rel=preconnect>
This CL adds unit tests for preconnect and dns-prefetch, and makes sure that HTTPS hosts are preconnected as such, even for schemeless URLs. It also adds Layout tests to that effect.
BUG=
Committed: https://crrev.com/a0e443f306acf0fa5f048fecb0d4518d1a1d806a
git-svn-id: svn://svn.chromium.org/blink/trunk@199505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -30 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/HTMLLinkElement/link-preconnect-crossorigin-expected.txt
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/HTMLLinkElement/link-preconnect-dynamic-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/HTMLLinkElement/link-preconnect-valid-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/linkHeader/link-preconnect-in-frame-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/linkHeader/link-preconnect-schemeless.php
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/linkHeader/link-preconnect-schemeless-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/linkHeader/link-preconnect-schemeless.https.php
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/linkHeader/link-preconnect-schemeless.https-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/linkHeader/link-preconnect-valid-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/misc/link-preconnect-schemeless.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/misc/link-preconnect-schemeless-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/http/tests/misc/link-preconnect-schemeless.https.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/misc/link-preconnect-schemeless.https-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLLinkElement.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameFetchContext.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/loader/LinkLoader.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/LinkLoader.cpp
|
View
|
1
2
3
|
6 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/LinkLoaderTest.cpp
|
View
|
1
2
3
|
4 chunks |
+105 lines, -1 line |
0 comments
|
Download
|
 |
A |
Source/core/loader/NetworkHintsInterface.h
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
Total messages: 22 (5 generated)
|