| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9b9829e3f64abb951d1bc1ae69936637db524376
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| + }
|
| + window.setTimeout(function() {
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| + }, 4000);
|
| +</script>
|
| +<link rel="preload" as="image" href="resources/nick.jpg">
|
| +<link rel="preload" as="image" href="resources/nick.jpg?name=value">
|
| +<img src="resources/nick.jpg">
|
| +This test verifies that unused preload resources (and only unused ones) issue a warning.
|
|
|