Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: toolkit/components/extensions/schemas/runtime.json

Issue 29863604: Issue 6865 - Update ABP dependency to version 3.2 (Closed)
Patch Set: Removing patch file Created Aug. 24, 2018, 8:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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": "abbRegisterRequestListener",
+ "type": "function",
+ "allowedContexts": ["content", "devtools"],
Thomas Greiner 2018/08/27 15:24:42 From what I understood we only need to communicate
diegocarloslima 2018/08/27 21:19:17 If I dont add at least the 'content' context, I ca
Thomas Greiner 2018/08/28 10:36:07 That's odd because "content" seems to refer to con
+ "description": "Function required to listen to Android requests. See https://issues.adblockplus.org/ticket/6865",
Thomas Greiner 2018/08/27 15:24:42 Suggestion: The naming confused me at first becaus
diegocarloslima 2018/08/27 21:19:17 I will rename 'abbSendRequest' to 'sendAbbMessage'
Thomas Greiner 2018/08/28 10:36:07 Sounds good. :)
+ "parameters": [
+ {
+ "name": "listener",
+ "type": "function"
+ }
+ ]
+ },
+ {
+ "name": "abbSendRequest",
+ "type": "function",
+ "allowedContexts": ["content", "devtools"],
+ "description": "Function required to send requests 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",

Powered by Google App Engine
This is Rietveld