Hello,
we have webExtension that installs a proprietary pkcs#11
at Firefox startup.
We would this security module be unloaded when the extension is disable.
I’am working aroud the management.onDisabled listener to add code
for this logic.
I added a console.log() statement in the code of this listener to verify it’s called.
In about:debugging environment within FDE:
- i load the extension file as temporary extension,
- click on ‘Examine’ button: I see in webconsole that the extension is correctly loaded and do its job (ie installing the pkcs#11).
- Then I go to extensions panel, i disable the extension,
- I return to webconsole, and i don’t see the log: the listener seems not called. I only see the message ‘webconsole context has changed’
So how do I debug listeners of the ‘onDisabled’ event in FDE?
Note that I execute the code of listener installation in the backgroud script. Is it the right place?
Thanks for your help.