Index: third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
diff --git a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
index 23463afe4b8be089e506a12b11f6be92c37ee0f6..6d9aaa319f37f199208f414e30a2dbaff4951cd9 100644 |
--- a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
+++ b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
@@ -166,12 +166,15 @@ constexpr PreloadTestParams kPreloadTestParams[] = { |
kReferrerPolicyDefault}, |
// TODO(yoav): subresource should be *very* low priority (rather than |
// low). |
- {"http://example.test/cat.empty", "", "", "", kReferrerPolicyDefault, |
+ {"http://example.test/cat.empty", "fetch", "", "", kReferrerPolicyDefault, |
kResourceLoadPriorityHigh, WebURLRequest::kRequestContextSubresource, true, |
true, kReferrerPolicyDefault}, |
{"http://example.test/cat.blob", "blabla", "", "", kReferrerPolicyDefault, |
kResourceLoadPriorityLow, WebURLRequest::kRequestContextSubresource, false, |
false, kReferrerPolicyDefault}, |
+ {"http://example.test/cat.blob", "", "", "", kReferrerPolicyDefault, |
+ kResourceLoadPriorityLow, WebURLRequest::kRequestContextSubresource, false, |
+ false, kReferrerPolicyDefault}, |
{"bla://example.test/cat.gif", "image", "", "", kReferrerPolicyDefault, |
kResourceLoadPriorityUnresolved, WebURLRequest::kRequestContextImage, |
false, false, kReferrerPolicyDefault}, |
@@ -222,13 +225,17 @@ constexpr PreloadTestParams kPreloadTestParams[] = { |
{"http://example.test/cat.woff", "font", "font/woff84", "", |
kReferrerPolicyDefault, kResourceLoadPriorityUnresolved, |
WebURLRequest::kRequestContextFont, false, false, kReferrerPolicyDefault}, |
- {"http://example.test/cat.empty", "", "foo/bar", "", kReferrerPolicyDefault, |
- kResourceLoadPriorityHigh, WebURLRequest::kRequestContextSubresource, true, |
- true, kReferrerPolicyDefault}, |
+ {"http://example.test/cat.empty", "fetch", "foo/bar", "", |
+ kReferrerPolicyDefault, kResourceLoadPriorityHigh, |
+ WebURLRequest::kRequestContextSubresource, true, true, |
+ kReferrerPolicyDefault}, |
{"http://example.test/cat.blob", "blabla", "foo/bar", "", |
kReferrerPolicyDefault, kResourceLoadPriorityLow, |
WebURLRequest::kRequestContextSubresource, false, false, |
kReferrerPolicyDefault}, |
+ {"http://example.test/cat.blob", "", "foo/bar", "", kReferrerPolicyDefault, |
+ kResourceLoadPriorityLow, WebURLRequest::kRequestContextSubresource, false, |
+ false, kReferrerPolicyDefault}, |
// Media tests |
{"http://example.test/cat.gif", "image", "image/gif", "(max-width: 600px)", |
kReferrerPolicyDefault, kResourceLoadPriorityLow, |