Followup from bug 638369: The TabOpen code in BrowserUI.handleEvent is not called for the first tab, because the listener has not been added yet. We should add the listener sooner, and then we can move the code from 638369 into the event handler.
Bug 638369 is reopened. This bug is no longer valid. We can make sure the handler is called when fixing bug 638369 the next time.