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

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: 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 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 3836 matching lines...) Expand 10 before | Expand all | Expand 10 after
3847 "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."}, 3847 "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."},
3848 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."} 3848 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."}
3849 } 3849 }
3850 }, 3850 },
3851 { 3851 {
3852 "id": "PacScript", 3852 "id": "PacScript",
3853 "type": "object", 3853 "type": "object",
3854 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.", 3854 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.",
3855 "properties": { 3855 "properties": {
3856 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."}, 3856 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."},
3857 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."} 3857 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."},
3858 "mandatory": {"type": "boolean", "optional": true, "description": "If true, an invalid PAC script will cause to fall back to direct connections. Defau lts to false."}
Bernhard Bauer 2011/04/15 18:38:47 Nit: missing a subject here (cause what to fall ba
battre 2011/04/26 15:31:30 Done.
3858 } 3859 }
3859 }, 3860 },
3860 { 3861 {
3861 "id": "ProxyConfig", 3862 "id": "ProxyConfig",
3862 "type": "object", 3863 "type": "object",
3863 "description": "An object encapsulating a complete proxy configuration." , 3864 "description": "An object encapsulating a complete proxy configuration." ,
3864 "properties": { 3865 "properties": {
3865 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."}, 3866 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."},
3866 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."}, 3867 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."},
3867 "mode": { 3868 "mode": {
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
5046 { 5047 {
5047 "type": "integer", 5048 "type": "integer",
5048 "name": "tabId", 5049 "name": "tabId",
5049 "description": "The id of the tab that was detached." 5050 "description": "The id of the tab that was detached."
5050 } 5051 }
5051 ] 5052 ]
5052 } 5053 }
5053 ] 5054 ]
5054 } 5055 }
5055 ] 5056 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698