Why is ChromeWorker dropping “Components Not Defined”?

The documentation on ChromeWorkers says that they have chrome privileges, and chrome privileges should mean that they can do something , but when I create ChromeWorker and try to use Components , I get the "Components" error message not defined.

So my question is:

  • Why are components unavailable?
  • What is available for ChromeWorker?
+4
source share
1 answer

You cannot access the Components object because the Components object is not thread safe. ChromeWorker provides access to everything that Worker has access to , and c-types.

+3
source

All Articles