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

Side by Side Diff: LayoutTests/http/tests/htmlimports/import-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 unified diff | Download patch
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 <script>
17 testPreload('resources/preload.html', document);
18 </script>
19 <link id=target rel=import href="resources/preload.html">
20 </head>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698