Link up experiment addon code to extension
This commit is contained in:
committed by
groovecoder
parent
49fac717c0
commit
ff2e41ac8d
@@ -2,12 +2,6 @@ const webExtension = require('sdk/webextension');
|
||||
const {ContextualIdentityService} = require('resource://gre/modules/ContextualIdentityService.jsm');
|
||||
|
||||
function handleWebExtensionMessage(message, sender, sendReply) {
|
||||
console.log(message);
|
||||
if (message === 'get-identities') {
|
||||
sendReply({
|
||||
content: {identities: ContextualIdentityService.getIdentities()}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
webExtension.startup().then(api=> {
|
||||
|
||||
Reference in New Issue
Block a user