From e0470bd2dd6b88f88b1e96cae90872a1b84fe265 Mon Sep 17 00:00:00 2001 From: "battre@chromium.org" Date: Tue, 3 May 2011 12:44:19 +0000 Subject: Enable (optional) blocking of webrequests in case a PAC script cannot be fetched or is invalid. The optional blocking is currently only exposed to the Proxy Settings API, not to command-line parameters or policies. BUG=79344 TEST=Install the sample proxy extension and enter a non-existing url and a URL that does not point to a valid JavaScript file. In either case, the request should fail. Review URL: http://codereview.chromium.org/6871019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83882 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/net_error_list.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net/base/net_error_list.h') diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index 1147267..9979394 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -180,7 +180,9 @@ NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129) // of an HTTP proxy. NET_ERROR(PROXY_CONNECTION_FAILED, -130) -// Free: 131 +// A mandatory proxy configuration could not be used. Currently this means +// that a mandatory PAC script could not be fetched, parsed or executed. +NET_ERROR(MANDATORY_PROXY_CONFIGURATION_FAILED, -131) // We detected an ESET product intercepting our HTTPS connections. Since these // products are False Start intolerant, we return this error so that we can -- cgit v1.1