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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/preload/avoid-delaying-onload-link-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/avoid-delaying-onload-link-preload.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/preload/avoid_delaying_onload_link_preload.html b/third_party/WebKit/LayoutTests/external/wpt/preload/avoid-delaying-onload-link-preload.html
similarity index 70%
rename from third_party/WebKit/LayoutTests/external/wpt/preload/avoid_delaying_onload_link_preload.html
rename to third_party/WebKit/LayoutTests/external/wpt/preload/avoid-delaying-onload-link-preload.html
index e92658dd2677e36647e5f8e26350fc64305588ee..77838c37741990153df68bdf746bd93b63d3d7a1 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/preload/avoid_delaying_onload_link_preload.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/preload/avoid-delaying-onload-link-preload.html
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
+<script src="/preload/resources/preload_helper.js"></script>
<script>
var t = async_test('Makes sure link preload preloaded resources are not delaying onload');
</script>
<link rel=preload href="resources/dummy.js?pipe=trickle(d5)" as=script>
<script>
window.addEventListener("load", t.step_func(function() {
- assert_equals(performance.getEntriesByType("resource").length, 2);
+ verifyPreloadAndRTSupport();
+ verifyNumberOfDownloads("/resources/dummy.js?pipe=trickle(d5)", 0);
t.done();
}));
</script>

Powered by Google App Engine
This is Rietveld 408576698