Bug 573679 - Fix tests to pass on trunk

Use Utils.delay instead of setTimeout.
This commit is contained in:
Edward Lee 2010-06-22 16:49:33 -07:00
parent 40395cd760
commit 4fe565e763

View File

@ -7,7 +7,7 @@ function run_test() {
_("Make sure the call is async and allows other events to process");
let isAsync = false;
setTimeout(function() isAsync = true, 0);
Utils.delay(function() isAsync = true, 0);
do_check_false(isAsync);
_("Empty out the formhistory table");