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

Unified Diff: chrome/test/data/prerender/prerender_loader.html

Issue 6543010: Revert 75393 - Cancel prerender if any of the visited URLs are https.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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: chrome/test/data/prerender/prerender_loader.html
===================================================================
--- chrome/test/data/prerender/prerender_loader.html (revision 75394)
+++ chrome/test/data/prerender/prerender_loader.html (working copy)
@@ -3,7 +3,10 @@
<title>Preloader</title>
</head>
<script>
-document.write('<link rel="prefetch" href="REPLACE_WITH_PREFETCH_URL"/>');
+document.write(
+ '<link rel="prefetch" href="' +
+ window.location.search.substring(1) +
+ '">');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698