| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 80         "type": "function", | 80         "type": "function", | 
| 81         "description": "Returns an array of the global JavaScript objects for ea
     ch of the tab contents views running inside the current extension. If windowId i
     s specified, returns only the tab contentses attached to the specified window.", | 81         "description": "Returns an array of the global JavaScript objects for ea
     ch of the tab contents views running inside the current extension. If windowId i
     s specified, returns only the tab contentses attached to the specified window.", | 
| 82         "parameters": [ | 82         "parameters": [ | 
| 83           {"type": "integer", "name": "windowId", "optional": true} | 83           {"type": "integer", "name": "windowId", "optional": true} | 
| 84         ], | 84         ], | 
| 85         "returns": { | 85         "returns": { | 
| 86           "type": "array", | 86           "type": "array", | 
| 87           "description": "Array of global objects", | 87           "description": "Array of global objects", | 
| 88           "items": { "type": "object" } | 88           "items": { "type": "object" } | 
| 89         } | 89         } | 
|  | 90       }, | 
|  | 91       { | 
|  | 92         "name": "executeScriptCode", | 
|  | 93         "type": "function", | 
|  | 94         "description": "", | 
|  | 95         "parameters": [ | 
|  | 96           {"type": "string", "name": "scriptCode", "optional": false} | 
|  | 97         ], | 
|  | 98         "returns": { | 
|  | 99           "type": "boolean", | 
|  | 100           "description": "Whether this call is successfull" | 
|  | 101         } | 
|  | 102       }, | 
|  | 103       { | 
|  | 104         "name": "executeScriptWithUrl", | 
|  | 105         "type": "function", | 
|  | 106         "description": "", | 
|  | 107         "parameters": [ | 
|  | 108           {"type": "string", "name": "scriptUrl", "optional": false} | 
|  | 109         ], | 
|  | 110         "returns": { | 
|  | 111           "type": "boolean", | 
|  | 112           "description": "Whether this call is successfull" | 
|  | 113         } | 
| 90       } | 114       } | 
| 91     ], | 115     ], | 
| 92     "events": [ | 116     "events": [ | 
| 93       { | 117       { | 
| 94         "name": "onConnect", | 118         "name": "onConnect", | 
| 95         "type": "function", | 119         "type": "function", | 
| 96         "description": "Fired when a connection is made from either an extension
      process or a content script.", | 120         "description": "Fired when a connection is made from either an extension
      process or a content script.", | 
| 97         "parameters": [ | 121         "parameters": [ | 
| 98           {"$ref": "Port", "name": "port"} | 122           {"$ref": "Port", "name": "port"} | 
| 99         ] | 123         ] | 
| (...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 904       { | 928       { | 
| 905         "name": "pass", | 929         "name": "pass", | 
| 906         "type": "function", | 930         "type": "function", | 
| 907         "description": "Notify the browser process that test code running in the
      extension passed.  This is only used for internal unit testing.", | 931         "description": "Notify the browser process that test code running in the
      extension passed.  This is only used for internal unit testing.", | 
| 908         "parameters": [] | 932         "parameters": [] | 
| 909       } | 933       } | 
| 910     ], | 934     ], | 
| 911     "events": [] | 935     "events": [] | 
| 912   } | 936   } | 
| 913 ] | 937 ] | 
| OLD | NEW | 
|---|