Vit*_*ich 13 javascript firefox firefox-addon-webextensions
在我的浏览器扩展的开发过程中,我遇到了这个错误.可能是什么?我在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;
}
Run Code Online (Sandbox Code Playgroud)
但仍然不知道我的扩展程序有什么不好 - 它在谷歌浏览器中也照常运行.