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

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

Issue 2903653005: [preload] Mandatory `as` value and related spec alignments (Closed)
Patch Set: IDL changes Created 3 years, 6 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.dumpChildFramesAsText(); 5 testRunner.dumpChildFramesAsText();
6 } 6 }
7 if (window.internals) 7 if (window.internals)
8 internals.settings.setLogPreload(true); 8 internals.settings.setLogPreload(true);
9 </script> 9 </script>
10 <link rel="preload" href="http://prefetch.wut.com.test/1.gif"> 10 <link rel="preload" as="fetch" href="http://prefetch.wut.com.test/1.gif">
11 <link rel="preload" as="image" href="gopher:???://prefetch.wut.com.test/2.gif"> 11 <link rel="preload" as="image" href="gopher:???://prefetch.wut.com.test/2.gif">
12 <link rel="preload" as="image" href=""> 12 <link rel="preload" as="image" href="">
13 <link rel="preload" as="image"> 13 <link rel="preload" as="image">
14 <link rel="preload" as="image" href="http://prefetch.wut.com.test/3.gif"> 14 <link rel="preload" as="image" href="http://prefetch.wut.com.test/3.gif">
15 This test verifies that a preload request is sent and logged. 15 This test verifies that a preload request is sent and logged.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698