Bug 804935 window.tabs is undefined