I’ve posted a new article on DOM workers to the Mozilla Developer Center. Using workers in extensions demonstrates how to adapt an extension that uses XMLHttpRequest to fetch information periodically so that it uses a worker to do the data retrieval. This serves both to demonstrate how to use workers to do real work, as well as how you can use them in an extension.
I still need to do one or two more examples of how to use workers, but we’re making good progress in that space.
If you see any issues with the article, as always, feel free to make corrections or offer suggestions!