Index: third_party/WebKit/LayoutTests/imported/wpt/preload/link_header_preload.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/preload/link_header_preload.html b/third_party/WebKit/LayoutTests/imported/wpt/preload/link_header_preload.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a63ffde800082067026b01065189e806534eb110 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/preload/link_header_preload.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script> |
+ var t = async_test('Makes sure that Link headers preload resources'); |
+</script> |
+<body> |
+<script src="resources/dummy.js?pipe=trickle(d5)"></script> |
+<script> |
+ window.addEventListener("load", t.step_func(function() { |
+ var entries = performance.getEntriesByType("resource"); |
+ assert_equals(entries.length, 6); |
+ t.done(); |
+ })); |
+</script> |
+</body> |