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

Unified Diff: LayoutTests/http/tests/loading/preload-css-test.html

Issue 166633002: Prefetch @import files from CSS files. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Prefetch @import files from CSS files. Scans until state finished in preload scanner. Created 6 years, 7 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/loading/preload-css-test.html
diff --git a/LayoutTests/http/tests/loading/preload-css-test.html b/LayoutTests/http/tests/loading/preload-css-test.html
index 944324df8473d8b6a20d7a4b15c72570d2cf47ce..30739a87d522d5408270ea723902a070aaba1096 100644
--- a/LayoutTests/http/tests/loading/preload-css-test.html
+++ b/LayoutTests/http/tests/loading/preload-css-test.html
@@ -17,10 +17,13 @@ function printResults(){
}
</script>
+<link href="resources/preloadedimports.css" rel="stylesheet">
<script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
<script>
checkForPreload("resources/big_mq.css", true);
checkForPreload("resources/small_mq.css", false);
+checkForPreload("preloaded.css", true);
+checkForPreload("notpreloaded.css", false);
</script>
<link href="resources/big_mq.css" rel="stylesheet" media="screen and (min-width: 800px)">
<link href="resources/small_mq.css" rel="stylesheet" media="screen and (max-width: 799px)">
« no previous file with comments | « no previous file | LayoutTests/http/tests/loading/preload-css-test-expected.txt » ('j') | Source/core/html/HTMLLinkElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698