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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/linkHeader/link-dnsprefetch-in-script.html

Issue 2184883002: Remove LinkHeader runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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.waitUntilDone(); 5 testRunner.waitUntilDone();
6 } 6 }
7 if (window.internals) { 7 if (window.internals) {
8 internals.settings.setLogDnsPrefetchAndPreconnect(true); 8 internals.settings.setLogDnsPrefetchAndPreconnect(true);
9 internals.settings.setLinkHeaderEnabled(true);
10 } 9 }
11 document.write("<script src='resources/link-dnsprefetch-script.php'></s"+"cr ipt>"); 10 document.write("<script src='resources/link-dnsprefetch-script.php'></s"+"cr ipt>");
12 </script> 11 </script>
13 This test checks if a Link header inside an iframe triggered a dns prefetch. 12 This test checks if a Link header inside an iframe triggered a dns prefetch.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698