Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
firefox加载项使用“组件”全局引导测试失败_Firefox_Components_Jpm - Fatal编程技术网

firefox加载项使用“组件”全局引导测试失败

firefox加载项使用“组件”全局引导测试失败,firefox,components,jpm,Firefox,Components,Jpm,我使用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

我使用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", ""); 访问“组件”全球数据库 警告:出于安全或其他原因,不推荐访问“Components”属性。 bootstrap.js const{utils:Cu}=组件; const rootURI=_脚本_URI_规范_;.replace(“bootstrap.js”,”);