diff options
author | sammc <sammc@chromium.org> | 2015-05-15 04:11:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-15 11:12:02 +0000 |
commit | 3b81bc1ac3ea712d448562dbcd7f5b35b58dbcf3 (patch) | |
tree | 57e49f7352d1b53e83ffbbee8b23c734f7de7a27 /net/data | |
parent | c314676fbb9b81b7450aeec1a803b872a2f34f2a (diff) | |
download | chromium_src-3b81bc1ac3ea712d448562dbcd7f5b35b58dbcf3.zip chromium_src-3b81bc1ac3ea712d448562dbcd7f5b35b58dbcf3.tar.gz chromium_src-3b81bc1ac3ea712d448562dbcd7f5b35b58dbcf3.tar.bz2 |
Add ProxyResolverFactoryV8Tracing.
This changes ProxyResolverV8Tracing to use the new ProxyResolver and
ProxyResolverFactory interfaces.
BUG=467403
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1126513002
Cr-Commit-Position: refs/heads/master@{#330074}
Diffstat (limited to 'net/data')
-rw-r--r-- | net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js new file mode 100644 index 0000000..2379bbf --- /dev/null +++ b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js @@ -0,0 +1,11 @@ +// Copyright 2015 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. + +alert('Prepare to DIE!'); +var x = null; +return x.split('-'); // Throws exception. + +function FindProxyForURL(url, host) { + return "PROXY i-approve-this-message:42"; +} |