Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/preload/single_download_late_used_preload.html

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/preload/single_download_late_used_preload.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/preload/single_download_late_used_preload.html b/third_party/WebKit/LayoutTests/external/wpt/preload/single_download_late_used_preload.html
deleted file mode 100644
index a4fd3dba4b35a8d5836dc966ddafaa38f241d229..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/external/wpt/preload/single_download_late_used_preload.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<title>Ensure preloaded resources are not downloaded again when used</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<link rel=preload href="resources/square.png?pipe=trickle(d1)" as=image>
-<script>
- var link = document.getElementsByTagName("link")[0]
- assert_equals(link.as, "image");
- link.addEventListener("load", () => {
- assert_equals(performance.getEntriesByType("resource").length, 3)
- var img = document.createElement("img");
- img.src = "resources/square.png?pipe=trickle(d1)";
- img.onload = () => {
- assert_equals(performance.getEntriesByType("resource").length, 3);
- done();
- };
- document.body.appendChild(img);
- });
-</script>
-<body>

Powered by Google App Engine
This is Rietveld 408576698