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

Unified Diff: LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity.html

Issue 1060863003: Add initial link preload support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix uninit member :/ Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity.html
diff --git a/LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity.html b/LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity.html
new file mode 100644
index 0000000000000000000000000000000000000000..5dadab379d32f433575a043471093a889f707e51
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpChildFramesAsText();
+ }
+ if (window.internals)
+ internals.settings.setLogPreload(true);
+</script>
+<link rel="preload" href="http://prefetch.wut.com.test/1.gif">
+<link rel="preload" as="image" href="gopher:???://prefetch.wut.com.test/2.gif">
+<link rel="preload" as="image" href="">
+<link rel="preload" as="image">
+<link rel="preload" as="image" href="http://prefetch.wut.com.test/3.gif">
+This test verifies that a preload request is sent and logged.
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLLinkElement/link-preload-validity-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698