我使用JPM为firefox插件构建了xpi包,但是JPM会自动将文件bootstrap.js插入到xpi包中。当我向插件开发者中心提交插件时,它将导致测试失败。扩展测试信息如下:
Access to the `Components` global Warning: Access to the `Components` property is deprecated for security or other reasons. bootstrap.js const { utils: Cu } = Components; const rootURI = __SCRIPT_URI_SPEC__.replace("bootstrap.js", "");