During development of my browser extension I faced with that error. What it could be? I found this message in the source code of Firefox:
getContextById(childId) {
let context = this.proxyContexts.get(childId);
if (!context) {
let error = new Error("WebExtension context not found!");
Cu.reportError(error);
throw error;
}
return context;
}
But still have no idea what bad with my extension - it works as usual, in Google Chrome too.