Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8286)

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 6871019: Enable (optional) blocking of webrequests in case a PAC script cannot be fetched or is invalid. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 85eac7bcf291acf14e4195e8d06de0e27627a023..e3e91f08a26f4bc9b933ab22d417182909453191 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3994,7 +3994,8 @@
"description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.",
"properties": {
"url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."},
- "data": {"type": "string", "optional": true, "description": "A PAC script."}
+ "data": {"type": "string", "optional": true, "description": "A PAC script."},
+ "mandatory": {"type": "boolean", "optional": true, "description": "If true, an invalid PAC script will cause the network stack to fall back to direct connections. Defaults to false."}
eroman 2011/04/26 21:47:17 This seems inverted (if true, request willl NOT fa
battre 2011/04/27 17:02:58 Done.
}
},
{

Powered by Google App Engine
This is Rietveld 408576698