Bug 840725: Cleanup robocop tab retrieval functions; r=jmaher

--HG--
extra : rebase_source : de92ecbb4812bd8ff62e43403ccc2c35213e0b04