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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 "types": [ | 1064 "types": [ |
1065 { | 1065 { |
1066 "id": "Permissions", | 1066 "id": "Permissions", |
1067 "type": "object", | 1067 "type": "object", |
1068 "properties": { | 1068 "properties": { |
1069 "permissions": { | 1069 "permissions": { |
1070 "type": "array", | 1070 "type": "array", |
1071 "items": {"type": "string"}, | 1071 "items": {"type": "string"}, |
1072 "optional": true, | 1072 "optional": true, |
1073 "description": "List of named permissions (does not include hosts or
origins)." | 1073 "description": "List of named permissions (does not include hosts or
origins)." |
| 1074 }, |
| 1075 "origins": { |
| 1076 "type": "array", |
| 1077 "items": {"type": "string"}, |
| 1078 "optional": true, |
| 1079 "description": "List of origin permissions." |
1074 } | 1080 } |
1075 } | 1081 } |
1076 } | 1082 } |
1077 ], | 1083 ], |
1078 "events": [ | 1084 "events": [ |
1079 { | 1085 { |
1080 "name": "onAdded", | 1086 "name": "onAdded", |
1081 "type": "function", | 1087 "type": "function", |
1082 "unprivileged": true, | 1088 "unprivileged": true, |
1083 "description": "Fired when the extension acquires new permissions.", | 1089 "description": "Fired when the extension acquires new permissions.", |
(...skipping 6308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7392 "description": "A string result code. The value is non-empty on
success only in tests.", | 7398 "description": "A string result code. The value is non-empty on
success only in tests.", |
7393 "optional": "true" | 7399 "optional": "true" |
7394 } | 7400 } |
7395 ] | 7401 ] |
7396 } | 7402 } |
7397 ] | 7403 ] |
7398 } | 7404 } |
7399 ] | 7405 ] |
7400 } | 7406 } |
7401 ] | 7407 ] |
OLD | NEW |