summaryrefslogtreecommitdiff
path: root/chromium/net/data/proxy_resolver_v8_unittest/resolve_host.js
blob: 0461de9862872457f98499b019ecda75714e5209 (plain)
1
2
3
4
5
6
7
8
9
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This script passes the URL's host to dnsResolveEx().
function FindProxyForURL(url, host) {
  dnsResolveEx(host);
  return 'DIRECT';
}