Backed out changeset 38bfa2af2bd8 (bug 1023547) for making test_promise.html perma-fail.