Bug 840823 - Check whether new tabs were made from stubs to prevent removal race condition. r=mfinkle