mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 11:27:49 +00:00
Bug 573679 - Fix tests to pass on trunk
Use Utils.delay instead of setTimeout.
This commit is contained in:
parent
40395cd760
commit
4fe565e763
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user