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

Unified Diff: chrome/test/data/iframe_dns_error.html

Issue 9704023: Replace URLRequestFailedDnsJob with URLRequestFailedJob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix weak ptr factory usage Created 8 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/iframe_dns_error.html
===================================================================
--- chrome/test/data/iframe_dns_error.html (revision 126973)
+++ chrome/test/data/iframe_dns_error.html (working copy)
@@ -3,7 +3,8 @@
<title>Blah</title>
</head>
<body>
-This frame will fail to load with a DNS error:
-<iframe src="http://url.handled.by.fake.dns/"></iframe>
+This frame will fail to load with a DNS error. "mock.failed.request" is the
+magic hostname used by URLRequestFailedJob, and -105 is ERR_NAME_NOT_RESOLVED.
+<iframe src="http://mock.failed.request/-105"></iframe>
</body>
</html>
« no previous file with comments | « chrome/browser/net/url_request_mock_util.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698