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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch.html

Issue 1647813003: Remove support for <link rel=subresource> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed and deleted tests Created 4 years, 11 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/http/tests/misc/link-rel-prefetch.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch-and-subresource.html b/third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch.html
similarity index 74%
rename from third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch-and-subresource.html
rename to third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch.html
index 57d8e2b07c3785b034b72951d0b383d2c295d04a..31ef7b0c7f5ab2ce34d6c9507937d532c693b0a4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch-and-subresource.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch.html
@@ -42,12 +42,8 @@ CallCommand("start-resource-request-log");
window.addEventListener('load', startTest, false);
</script>
- <!-- link rel=subresource is very similar to link rel=prefetch, however it is
- expected to have a higher network priority. This test should confirm that the
- priorities of the two types of prefetch are being observed -->
-
<script>
- var linkLoadCount = 5;
+ var linkLoadCount = 3;
function decrementLinkLoadCount()
{
@@ -58,10 +54,8 @@ window.addEventListener('load', startTest, false);
}
</script>
<link rel=prefetch onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=1st.jpg">
- <link rel=subresource onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=2nd.jpg">
+ <link rel=prefetch onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=2nd.jpg">
<link rel=prefetch onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=3rd.jpg">
- <link rel=prefetch onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=4th.jpg">
- <link rel=subresource onload="decrementLinkLoadCount()" href="/resources/network-simulator.php?command=log-resource-request&path=5th.jpg">
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698