OLD | NEW |
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 3618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3629 "properties": { | 3629 "properties": { |
3630 "url": {"type": "string", "optional": true, "description": "URL of he
PAC file to be used."} | 3630 "url": {"type": "string", "optional": true, "description": "URL of he
PAC file to be used."} |
3631 } | 3631 } |
3632 }, | 3632 }, |
3633 { | 3633 { |
3634 "id": "ProxyConfig", | 3634 "id": "ProxyConfig", |
3635 "type": "object", | 3635 "type": "object", |
3636 "description": "An object encapsulating a complete proxy configuration."
, | 3636 "description": "An object encapsulating a complete proxy configuration."
, |
3637 "properties": { | 3637 "properties": { |
3638 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The
proxy rules describing this configuration."}, | 3638 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The
proxy rules describing this configuration."}, |
3639 "autoDetect": {"type": "boolean", "optional": true, "description": "Tr
ue if the proxy settings sbould be detected automatically."}, | 3639 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T
he proxy auto-config (PAC) script for this configuration."}, |
3640 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T
he proxy auto-config (PAC) script for this configuration."} | 3640 "mode": { |
| 3641 "type": "string", |
| 3642 "enum": ["direct", "auto_detect", "pac_script", "fixed_servers", "sy
stem"], |
| 3643 "description": "'direct' = Never use a proxy<br>'auto_detect' = Auto
detect proxy settings<br>'pac_script' = Use specified PAC script<br>'fixed_serv
ers' = Manually specify proxy servers<br>'system' = Use system proxy settings" |
| 3644 } |
3641 } | 3645 } |
3642 } | 3646 } |
3643 ], | 3647 ], |
3644 "functions": [ | 3648 "functions": [ |
3645 { | 3649 { |
3646 "name": "useCustomProxySettings", | 3650 "name": "useCustomProxySettings", |
3647 "type": "function", | 3651 "type": "function", |
3648 "description": "Apply the given proxy configuration.", | 3652 "description": "Apply the given proxy configuration.", |
3649 "parameters": [ | 3653 "parameters": [ |
3650 {"name": "config", "$ref": "ProxyConfig"} | 3654 {"name": "config", "$ref": "ProxyConfig"} |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4365 "token": { "type": "string", "optional": true } | 4369 "token": { "type": "string", "optional": true } |
4366 } | 4370 } |
4367 } | 4371 } |
4368 ] | 4372 ] |
4369 } | 4373 } |
4370 ] | 4374 ] |
4371 } | 4375 } |
4372 ] | 4376 ] |
4373 } | 4377 } |
4374 ] | 4378 ] |
OLD | NEW |