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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused.html

Issue 2343623002: Add a warning whenever link preloads are not used (Closed)
Patch Set: more comments Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.waitUntilDone();
5 testRunner.dumpAsText();
6 }
7 window.setTimeout(function() {
8 if (window.testRunner) {
9 testRunner.notifyDone();
10 }
11 }, 4000);
12 </script>
13 <link rel="preload" as="image" href="resources/nick.jpg">
14 <link rel="preload" as="image" href="resources/nick.jpg?name=value">
15 <img src="resources/nick.jpg">
16 This test verifies that unused preload resources (and only unused ones) issue a warning.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698