OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "types": [ | 4 "types": [ |
5 { | 5 { |
6 "id": "Port", | 6 "id": "Port", |
7 "type": "object", | 7 "type": "object", |
8 "description": "An object which allows two way communication with other
pages.", | 8 "description": "An object which allows two way communication with other
pages.", |
9 "properties": { | 9 "properties": { |
10 "name": {"type": "string"}, | 10 "name": {"type": "string"}, |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 "url": { "type": "string", "optional": true, "description": "If pr
esent, the toolstrip mole will change it's content to the provided url. Otherwis
e, the current page will just be collapsed in size." } | 1012 "url": { "type": "string", "optional": true, "description": "If pr
esent, the toolstrip mole will change it's content to the provided url. Otherwis
e, the current page will just be collapsed in size." } |
1013 } | 1013 } |
1014 }, | 1014 }, |
1015 {"type": "function", "name": "callback", "optional": true, "parameters
": []} | 1015 {"type": "function", "name": "callback", "optional": true, "parameters
": []} |
1016 ] | 1016 ] |
1017 } | 1017 } |
1018 ], | 1018 ], |
1019 "events": [] | 1019 "events": [] |
1020 }, | 1020 }, |
1021 { | 1021 { |
| 1022 "namespace": "i18n", |
| 1023 "types": [], |
| 1024 "functions": [ |
| 1025 { |
| 1026 "name": "getAcceptLanguages", |
| 1027 "type": "function", |
| 1028 "description": "Get accept languages of browser", |
| 1029 "parameters": [ |
| 1030 { |
| 1031 "type": "function", |
| 1032 "name": "callback", |
| 1033 "parameters": [ |
| 1034 {"name": "languages", "type": "array", "items": {"type": "string"}
, "description": "Array of the accept languages of the browser, such as en-US,en
,zh-CN"} |
| 1035 ] |
| 1036 } |
| 1037 ] |
| 1038 } |
| 1039 ], |
| 1040 "events": [ |
| 1041 ] |
| 1042 }, |
| 1043 { |
1022 "namespace": "devtools", | 1044 "namespace": "devtools", |
1023 "types": [ | 1045 "types": [ |
1024 ], | 1046 ], |
1025 "functions": [ | 1047 "functions": [ |
1026 { | 1048 { |
1027 "name": "getTabEvents", | 1049 "name": "getTabEvents", |
1028 "type": "function", | 1050 "type": "function", |
1029 "description": "EXPERIMENTAL support for timeline API", | 1051 "description": "EXPERIMENTAL support for timeline API", |
1030 "nodocs": "true", | 1052 "nodocs": "true", |
1031 "parameters": [ | 1053 "parameters": [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 "type": "function", | 1088 "type": "function", |
1067 "description": "Logs a message during internal unit testing.", | 1089 "description": "Logs a message during internal unit testing.", |
1068 "parameters": [ | 1090 "parameters": [ |
1069 {"type": "string", "name": "message"} | 1091 {"type": "string", "name": "message"} |
1070 ] | 1092 ] |
1071 } | 1093 } |
1072 ], | 1094 ], |
1073 "events": [] | 1095 "events": [] |
1074 } | 1096 } |
1075 ] | 1097 ] |
OLD | NEW |