| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "nocompile": true, |
| 4 "dependencies": [ "tabs" ], | 5 "dependencies": [ "tabs" ], |
| 5 "types": [ | 6 "types": [ |
| 6 { | 7 { |
| 7 "id": "MessageSender", | 8 "id": "MessageSender", |
| 8 "type": "object", | 9 "type": "object", |
| 9 "description": "An object containing information about the script contex
t that sent a message or request.", | 10 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 10 "properties": { | 11 "properties": { |
| 11 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, | 12 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, |
| 12 "id": {"type": "string", "description": "The extension ID of the exten
sion that opened the connection."} | 13 "id": {"type": "string", "description": "The extension ID of the exten
sion that opened the connection."} |
| 13 } | 14 } |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 "description": "Fired when a request is sent from another extension.", | 257 "description": "Fired when a request is sent from another extension.", |
| 257 "parameters": [ | 258 "parameters": [ |
| 258 {"name": "request", "type": "any", "description": "The request sent by
the calling script."}, | 259 {"name": "request", "type": "any", "description": "The request sent by
the calling script."}, |
| 259 {"name": "sender", "$ref": "MessageSender" }, | 260 {"name": "sender", "$ref": "MessageSender" }, |
| 260 {"name": "sendResponse", "type": "function", "description": "Function
to call when you have a response. The argument should be any JSON-ifiable object
, or undefined if there is no response." } | 261 {"name": "sendResponse", "type": "function", "description": "Function
to call when you have a response. The argument should be any JSON-ifiable object
, or undefined if there is no response." } |
| 261 ] | 262 ] |
| 262 } | 263 } |
| 263 ] | 264 ] |
| 264 } | 265 } |
| 265 ] | 266 ] |
| OLD | NEW |