Index: toolkit/components/extensions/schemas/runtime.json |
=================================================================== |
--- a/toolkit/components/extensions/schemas/runtime.json |
+++ b/toolkit/components/extensions/schemas/runtime.json |
@@ -154,16 +154,40 @@ |
"id": { |
"type": "string", |
"allowedContexts": ["content", "devtools"], |
"description": "The ID of the extension/app." |
} |
}, |
"functions": [ |
{ |
+ "name": "registerAbbMessageListener", |
+ "type": "function", |
+ "allowedContexts": ["content", "devtools"], |
+ "description": "Function required to listen to Android messages. See https://issues.adblockplus.org/ticket/6865", |
+ "parameters": [ |
+ { |
+ "name": "listener", |
+ "type": "function" |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "sendAbbMessage", |
+ "type": "function", |
+ "allowedContexts": ["content", "devtools"], |
+ "description": "Function required to send messages to Android. See https://issues.adblockplus.org/ticket/6865", |
+ "parameters": [ |
+ { |
+ "name": "type", |
+ "type": "string" |
+ } |
+ ] |
+ }, |
+ { |
"name": "getBackgroundPage", |
"type": "function", |
"description": "Retrieves the JavaScript 'window' object for the background page running inside the current extension/app. If the background page is an event page, the system will ensure it is loaded before calling the callback. If there is no background page, an error is set.", |
"async": "callback", |
"parameters": [ |
{ |
"type": "function", |
"name": "callback", |