| Index: net/data/proxy_resolver_v8_unittest/exception_findproxyforurl_during_init.js
|
| diff --git a/net/data/proxy_resolver_v8_unittest/exception_findproxyforurl_during_init.js b/net/data/proxy_resolver_v8_unittest/exception_findproxyforurl_during_init.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9ce68352a79fa6b9fdd40ada949ac828fb613789
|
| --- /dev/null
|
| +++ b/net/data/proxy_resolver_v8_unittest/exception_findproxyforurl_during_init.js
|
| @@ -0,0 +1,12 @@
|
| +// Copyright (c) 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.
|
| +
|
| +// This PAC script will throw an exception when accessing the
|
| +// "FindProxyForURL" property.
|
| +
|
| +function FindProxyForURLGetter() {
|
| + throw "crash!";
|
| +}
|
| +
|
| +Object.defineProperty(this, "FindProxyForURL", {get: FindProxyForURLGetter});
|
|
|