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 3717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3728 ] | 3728 ] |
3729 }, | 3729 }, |
3730 { | 3730 { |
3731 "namespace": "experimental.proxy", | 3731 "namespace": "experimental.proxy", |
3732 "types": [ | 3732 "types": [ |
3733 { | 3733 { |
3734 "id": "ProxyServer", | 3734 "id": "ProxyServer", |
3735 "type": "object", | 3735 "type": "object", |
3736 "description": "An object encapsulating a single proxy server's specific
ation.", | 3736 "description": "An object encapsulating a single proxy server's specific
ation.", |
3737 "properties": { | 3737 "properties": { |
3738 "scheme": {"type": "string", "optional": true, "enum": ["http", "socks
", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy serve
r itself."}, | 3738 "scheme": {"type": "string", "optional": true, "enum": ["http", "https
", "socks", "socks4", "socks5"], "description": "The scheme (protocol) of the pr
oxy server itself."}, |
3739 "host": {"type": "string", "description": "The URI of the proxy server
."}, | 3739 "host": {"type": "string", "description": "The URI of the proxy server
."}, |
3740 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server."} | 3740 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server."} |
3741 } | 3741 } |
3742 }, | 3742 }, |
3743 { | 3743 { |
3744 "id": "ProxyRules", | 3744 "id": "ProxyRules", |
3745 "type": "object", | 3745 "type": "object", |
3746 "description": "An object encapsulating the set of proxy rules for all p
rotocols. Use either 'singleProxy' or (a subset of) 'proxyForHttp', 'proxyForHtt
ps', 'proxyForFtp' and 'socksProxy'.", | 3746 "description": "An object encapsulating the set of proxy rules for all p
rotocols. Use either 'singleProxy' or (a subset of) 'proxyForHttp', 'proxyForHtt
ps', 'proxyForFtp' and 'socksProxy'.", |
3747 "properties": { | 3747 "properties": { |
3748 "singleProxy": {"$ref": "ProxyServer", "optional": true, "description"
: "The proxy server to be used for all per-URL requests (i.e., http, https, and
ftp)."}, | 3748 "singleProxy": {"$ref": "ProxyServer", "optional": true, "description"
: "The proxy server to be used for all per-URL requests (i.e., http, https, and
ftp)."}, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3798 "type": "function", | 3798 "type": "function", |
3799 "description": "Remove a custom proxy set by the current extension. This
is the inverse of useCustomProxySettings.", | 3799 "description": "Remove a custom proxy set by the current extension. This
is the inverse of useCustomProxySettings.", |
3800 "parameters": [ | 3800 "parameters": [ |
3801 { | 3801 { |
3802 "name": "incognito", | 3802 "name": "incognito", |
3803 "type": "boolean", | 3803 "type": "boolean", |
3804 "description": "See incognito parameter of useCustomProxySettings.", | 3804 "description": "See incognito parameter of useCustomProxySettings.", |
3805 "optional": true | 3805 "optional": true |
3806 } | 3806 } |
3807 ] | 3807 ] |
| 3808 }, |
| 3809 { |
| 3810 "name": "getCurrentProxySettings", |
| 3811 "type": "function", |
| 3812 "description": "Returns the currently effective proxy settings. These ca
n originate from default values, command line options, the extension settings AP
I, policies and possibly other sources in the future.", |
| 3813 "parameters": [ |
| 3814 { |
| 3815 "name": "incognito", |
| 3816 "type": "boolean", |
| 3817 "description": "See incognito parameter of useCustomProxySettings." |
| 3818 }, |
| 3819 { |
| 3820 "name": "callback", |
| 3821 "type": "function", |
| 3822 "parameters": [ |
| 3823 { |
| 3824 "name": "config", |
| 3825 "$ref": "ProxyConfig", |
| 3826 "description": "Configuration, not necessarily a literal copy of
the configuration passed to useCustomProxySettings." |
| 3827 } |
| 3828 ] |
| 3829 } |
| 3830 ] |
3808 } | 3831 } |
3809 ] | 3832 ] |
3810 }, | 3833 }, |
3811 { | 3834 { |
3812 "namespace": "experimental.clipboard", | 3835 "namespace": "experimental.clipboard", |
3813 "types": [], | 3836 "types": [], |
3814 "functions": [ | 3837 "functions": [ |
3815 { | 3838 { |
3816 "name": "executeCopy", | 3839 "name": "executeCopy", |
3817 "type": "function", | 3840 "type": "function", |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4524 "token": { "type": "string", "optional": true } | 4547 "token": { "type": "string", "optional": true } |
4525 } | 4548 } |
4526 } | 4549 } |
4527 ] | 4550 ] |
4528 } | 4551 } |
4529 ] | 4552 ] |
4530 } | 4553 } |
4531 ] | 4554 ] |
4532 } | 4555 } |
4533 ] | 4556 ] |
OLD | NEW |