Hi list, Would it be possible to emulate what the 'backgroud' page does in the context of a "normal" Firefox extension by using Web workers?
In detail, WebExtensions dictates that each extension has a background thread which runs independently of its foreground counterpart, and that they notify each other by sending messages. Web workers are quite the same thing: independent threads which can send/receive messages to/from their creators. So it seems "natural" to have a Web worker active for the extension's lifetime which behaves the same way a WebExtension's background script does. Which kind of problems may arise in implementing the WebExtension's semantics in a traditional Firefox extension? Is there any exmple to look at which already does that? Thanks Marcello _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform