Bug 843500: Fix race condition in firefox tabs code between concurrent module instances.

https://bugzilla.mozilla.org/show_bug.cgi?id=843500