Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz

--HG--
extra : transplant_source : %91%24G%DA%8F%B6%95%CEY%3Ff1%B4%3B%CA%23%DB5%ED%88