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

Side by Side Diff: LayoutTests/http/tests/misc/link-preconnect-schemeless.https.html

Issue 1245223008: Add unit and layout test to <link rel=preconnect> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 5 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.dumpChildFramesAsText(); 5 testRunner.dumpChildFramesAsText();
6 } 6 }
7 if (window.internals) 7 if (window.internals)
8 internals.settings.setLogDnsPrefetchAndPreconnect(true); 8 internals.settings.setLogDnsPrefetchAndPreconnect(true);
9 </script> 9 </script>
10 <link rel="preconnect" href="http://prefetch.wut.com.test"> 10 <link rel="preconnect" href="//prefetch1.wut.com.test">
11 This test verifies that a DNS prefetch request is sent and logged. 11 This test verifies that a preconnect is sent for schemeless host names.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698