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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/preload.html

Issue 976263002: HTML Imports: Teach preloader about HTML Imports. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/htmlimports/resources/preload.html
diff --git a/LayoutTests/http/tests/htmlimports/resources/preload.html b/LayoutTests/http/tests/htmlimports/resources/preload.html
new file mode 100644
index 0000000000000000000000000000000000000000..da2e13d8bc1cc243daace1bee8d0dbbc68cef151
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/preload.html
@@ -0,0 +1,10 @@
+<head>
+<script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
+<script>
+// TODO(yoichio): Should preload these resouces.
+// testPreload('hello.css', document.currentScript.ownerDocument);
+// testPreload('hello.js', document.currentScript.ownerDocument);
+</script>
+<link rel="stylesheet" href="hello.css">
+<script src="hello.js"></script>
+</head>

Powered by Google App Engine
This is Rietveld 408576698