chromium/services/proxy_resolver/test/data/proxy_resolver_v8_unittest/resolve_host.js

// Copyright 2012 The Chromium Authors
// 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';
}