Fix browser detection and test skip.
Fix a corner case with Hoare's million dollar mistake.