documentation on ChromeWorkers 说他们有“chrome特权”,并且 chrome privileges are supposed to mean they can do anything ,但是当我创建一个ChromeWorker并尝试使用 Components 我得到一个错误,没有定义“组件”。。
Components
您无法访问 Components 对象,因为 组件 对象不是线程安全的。ChromeWorker给你的 access to everything a Worker has access to
组件