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> |