honestly this whole condition isn't needed, with reduces the need for the browser ivar. I doubt firefox will drop support for "allow" anytime soon. @imelven?