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

Side by Side Diff: LayoutTests/http/tests/htmlimports/import-preload.html

Issue 243793006: HTML Imports: Teach preloader about HTML Imports. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 function testPreload(url, doc)
7 {
8 if (internals.isPreloadedBy(url, doc)) {
9 console.log("PASS: " + url + " is preloaded.");
10 } else {
11 console.log("FAIL: " + url + " should be preloaded");
12 }
13 }
14 </script>
15 <script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
16 <link id=target rel=import href="resources/preload.html">
17 <script>
18 testPreload('resources/preload.html', document);
19 </script>
20 </head>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698