Bug 1054638 - Move WorkerThread into its own file, r=khuey.
Bug 1054638 - Notify the worker event loop when an XPCOM event is received, r=khuey.