1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This PAC script will throw an exception when accessing the "FindProxyForURL"
6 // the *second* time it is accessed.
8 function actualFindProxyForURL(url, host) {
14 function FindProxyForURLGetter() {
18 return actualFindProxyForURL;
21 Object.defineProperty(this, "FindProxyForURL", {get: FindProxyForURLGetter});