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

--HG--
extra : transplant_source : %F5%A9%DER%BA%11%E3%2C%E3R%C8%40%F3%5E%D5%C3%A6%FE%9D%90