diff options
Diffstat (limited to 'browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json')
-rw-r--r-- | browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json b/browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json new file mode 100644 index 0000000000..5e0098ab32 --- /dev/null +++ b/browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json @@ -0,0 +1,37 @@ +[ + { + "namespace": "tabExtras", + "description": "experimental tab API extensions", + "functions": [ + { + "name": "getWebcompatInfo", + "type": "function", + "description": "Gets the content blocking status and script log for a given tab", + "parameters": [ + { + "type": "integer", + "name": "tabId", + "minimum": 0 + } + ], + "async": true + }, + { + "name": "sendWebcompatInfo", + "type": "function", + "description": "Sends the given webcompat info to the given tab", + "parameters": [ + { + "type": "integer", + "name": "tabId", + "minimum": 0 + }, + { + "type": "any" + } + ], + "async": true + } + ] + } +] |