On 12/17/13, 6:49 PM, Ehsan Akhgari wrote:
A few years ago I spent quite some time investigating our intermittent
oranges in the tests living on mozilla-central, and in the process I
ended up fixing a lot of bad patterns in our tests.  Using setTimeout's
like this is definitely one of them.

Can we modify our test framework to poison unsafe global functions? I can set `Math.random = setInterval = setTimeout = undefined` in the JS console, but could that work for mochitests?


chris
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to