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

Unified Diff: net/data/proxy_resolver_v8_unittest/resolve_host.js

Issue 9383010: Strip brackets from IPv6 host literals before passing down to PAC script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_v8.cc » ('j') | net/proxy/proxy_resolver_v8_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/proxy_resolver_v8_unittest/resolve_host.js
diff --git a/net/data/proxy_resolver_v8_unittest/resolve_host.js b/net/data/proxy_resolver_v8_unittest/resolve_host.js
new file mode 100644
index 0000000000000000000000000000000000000000..6b74114e0d03af2c6cda1981c5ea36510ba4abde
--- /dev/null
+++ b/net/data/proxy_resolver_v8_unittest/resolve_host.js
@@ -0,0 +1,5 @@
+// This script passes the URL's host to dnsResolveEx().
+function FindProxyForURL(url, host) {
+ dnsResolveEx(host);
+ return 'DIRECT';
+}
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_v8.cc » ('j') | net/proxy/proxy_resolver_v8_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698