bug 1017751 - activate before ready
Merge pull request #1524 from zombie/1017751-ready-ativate

Bug 1017751 - tab.onActivate can fire before the proper document exists r=erikvold