| 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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 "imageData": { | 852 "imageData": { |
| 853 "type": "any", | 853 "type": "any", |
| 854 "description": "Pixel data for an image. Must be an ImageData ob
ject (eg from a <code>canvas</code> element).", | 854 "description": "Pixel data for an image. Must be an ImageData ob
ject (eg from a <code>canvas</code> element).", |
| 855 "optional": true | 855 "optional": true |
| 856 }, | 856 }, |
| 857 "iconIndex": { | 857 "iconIndex": { |
| 858 "type": "integer", | 858 "type": "integer", |
| 859 "minimum": 0, | 859 "minimum": 0, |
| 860 "description": "The zero-based index into the |icons| vector spe
cified in the manifest.", | 860 "description": "The zero-based index into the |icons| vector spe
cified in the manifest.", |
| 861 "optional": true | 861 "optional": true |
| 862 }, |
| 863 "path": { |
| 864 "type": "string", |
| 865 "description": "Relative path to an image in the extension to sh
ow in the browser action.", |
| 866 "optional": true |
| 862 } | 867 } |
| 863 } | 868 } |
| 864 } | 869 } |
| 865 ] | 870 ] |
| 866 }, | 871 }, |
| 867 { | 872 { |
| 868 "name": "setBadgeText", | 873 "name": "setBadgeText", |
| 869 "type": "function", | 874 "type": "function", |
| 870 "description": "Sets the badge text for the browser action. This is prin
ted on top of the icon.", | 875 "description": "Sets the badge text for the browser action. This is prin
ted on top of the icon.", |
| 871 "parameters": [ | 876 "parameters": [ |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 "type": "function", | 1317 "type": "function", |
| 1313 "description": "Logs a message during internal unit testing.", | 1318 "description": "Logs a message during internal unit testing.", |
| 1314 "parameters": [ | 1319 "parameters": [ |
| 1315 {"type": "string", "name": "message"} | 1320 {"type": "string", "name": "message"} |
| 1316 ] | 1321 ] |
| 1317 } | 1322 } |
| 1318 ], | 1323 ], |
| 1319 "events": [] | 1324 "events": [] |
| 1320 } | 1325 } |
| 1321 ] | 1326 ] |
| OLD | NEW |