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

Side by Side Diff: net/data/proxy_resolver_v8_tracing_unittest/dns_during_init.js

Issue 11885009: Improve performance of proxy resolver by tracing DNS dependencies. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: re-upload due to failure last time Created 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 var g_ips = [
2 dnsResolve('host1'),
3 dnsResolve('host2')
4 ];
5
6 alert('Watsup');
7 alert('Watsup2');
8
9 function FindProxyForURL(url, host) {
10 // Note that host1 and host2 should not resolve using the same cache as was
11 // used for g_ips!
12 var ips = g_ips.concat([dnsResolve('host1'), dnsResolve('host2')]);
13 return 'PROXY ' + ips.join('-') + ':99';
14 }
OLDNEW
« no previous file with comments | « net/data/proxy_resolver_v8_tracing_unittest/dns.js ('k') | net/data/proxy_resolver_v8_tracing_unittest/error.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698