Bug 941364 - make browser wait for tab to close when testing net_error.h...

...tml