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

Unified Diff: chrome/test/data/predictor/dns_prefetch.html

Issue 1007323003: DNS Prefetch fix: renderer shouldn't send long hostnames to browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicitly test long string not requested Created 5 years, 9 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/predictor/dns_prefetch.html
diff --git a/chrome/test/data/predictor/dns_prefetch.html b/chrome/test/data/predictor/dns_prefetch.html
index ab2a63c008fa5aae65d49a681519579326570429..c22c033c4b777eb0ab2c91db84ead1e053cdbe97 100644
--- a/chrome/test/data/predictor/dns_prefetch.html
+++ b/chrome/test/data/predictor/dns_prefetch.html
@@ -1 +1,2 @@
+<link rel="dns-prefetch" href="http://illegally-long-hostname-over-255-characters-should-not-send-an-ipc-message-to-the-browser-00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.org/">
<link rel="dns-prefetch" href="http://chromium.org/">
« no previous file with comments | « chrome/browser/net/predictor_browsertest.cc ('k') | components/network_hints/renderer/renderer_dns_prefetch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698