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 f9da2d7a9b6be313a3dd06feee99b59b9f3e093b..67d0c6b4be37f7981942335716c2088b86bd2dd3 100644 |
--- a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
+++ b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp |
@@ -105,10 +105,10 @@ TEST(LinkLoaderTest, Preload) { |
true, ReferrerPolicyDefault}, |
// TODO(yoav): It doesn't seem like the audio context is ever used. That |
// should probably be fixed (or we can consolidate audio and video). |
- {"http://example.test/cat.wav", "media", "", "", ReferrerPolicyDefault, |
+ {"http://example.test/cat.wav", "audio", "", "", ReferrerPolicyDefault, |
ResourceLoadPriorityLow, WebURLRequest::RequestContextVideo, true, true, |
ReferrerPolicyDefault}, |
- {"http://example.test/cat.mp4", "media", "", "", ReferrerPolicyDefault, |
+ {"http://example.test/cat.mp4", "video", "", "", ReferrerPolicyDefault, |
ResourceLoadPriorityLow, WebURLRequest::RequestContextVideo, true, true, |
ReferrerPolicyDefault}, |
{"http://example.test/cat.vtt", "track", "", "", ReferrerPolicyDefault, |
@@ -151,16 +151,16 @@ TEST(LinkLoaderTest, Preload) { |
{"http://example.test/cat.css", "style", "text/sass", "", |
ReferrerPolicyDefault, ResourceLoadPriorityUnresolved, |
WebURLRequest::RequestContextStyle, false, false, ReferrerPolicyDefault}, |
- {"http://example.test/cat.wav", "media", "audio/wav", "", |
+ {"http://example.test/cat.wav", "audio", "audio/wav", "", |
ReferrerPolicyDefault, ResourceLoadPriorityLow, |
WebURLRequest::RequestContextVideo, true, true, ReferrerPolicyDefault}, |
- {"http://example.test/cat.wav", "media", "audio/mp57", "", |
+ {"http://example.test/cat.wav", "audio", "audio/mp57", "", |
ReferrerPolicyDefault, ResourceLoadPriorityUnresolved, |
WebURLRequest::RequestContextVideo, false, false, ReferrerPolicyDefault}, |
- {"http://example.test/cat.webm", "media", "video/webm", "", |
+ {"http://example.test/cat.webm", "video", "video/webm", "", |
ReferrerPolicyDefault, ResourceLoadPriorityLow, |
WebURLRequest::RequestContextVideo, true, true, ReferrerPolicyDefault}, |
- {"http://example.test/cat.mp199", "media", "video/mp199", "", |
+ {"http://example.test/cat.mp199", "video", "video/mp199", "", |
ReferrerPolicyDefault, ResourceLoadPriorityUnresolved, |
WebURLRequest::RequestContextVideo, false, false, ReferrerPolicyDefault}, |
{"http://example.test/cat.vtt", "track", "text/vtt", "", |