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

Side by Side 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, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 3976 matching lines...) Expand 10 before | Expand all | Expand 10 after
3987 "fallbackProxy": {"$ref": "ProxyServer", "optional": true, "descriptio n": "The proxy server to be used for everthing else or if any of the specific pr oxyFor... is not specified."}, 3987 "fallbackProxy": {"$ref": "ProxyServer", "optional": true, "descriptio n": "The proxy server to be used for everthing else or if any of the specific pr oxyFor... is not specified."},
3988 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."} 3988 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."}
3989 } 3989 }
3990 }, 3990 },
3991 { 3991 {
3992 "id": "PacScript", 3992 "id": "PacScript",
3993 "type": "object", 3993 "type": "object",
3994 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.", 3994 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.",
3995 "properties": { 3995 "properties": {
3996 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."}, 3996 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."},
3997 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."} 3997 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."},
3998 "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.
3998 } 3999 }
3999 }, 4000 },
4000 { 4001 {
4001 "id": "ProxyConfig", 4002 "id": "ProxyConfig",
4002 "type": "object", 4003 "type": "object",
4003 "description": "An object encapsulating a complete proxy configuration." , 4004 "description": "An object encapsulating a complete proxy configuration." ,
4004 "properties": { 4005 "properties": {
4005 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."}, 4006 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."},
4006 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."}, 4007 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."},
4007 "mode": { 4008 "mode": {
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
5335 { 5336 {
5336 "type": "integer", 5337 "type": "integer",
5337 "name": "tabId", 5338 "name": "tabId",
5338 "description": "The id of the tab that was detached." 5339 "description": "The id of the tab that was detached."
5339 } 5340 }
5340 ] 5341 ]
5341 } 5342 }
5342 ] 5343 ]
5343 } 5344 }
5344 ] 5345 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698