MozMill upgrade incoming, waitForEval users beware
sagarwal at mozilla.com
Fri Jun 10 17:19:17 UTC 2011
On 07-06-2011 17:33, Siddharth Agarwal wrote:
> Going forward, I think the best practice is to
> - use utils.waitFor  instead of controller.waitForEval...
I have a patch in  that switches over all uses of waitForEval to
> - pass in a helpful message as the second argument to waitFor,
> wherever necessary.
... and if you need to do something more complicated than a simple
string, then you'll be able to catch the exception based on whether it
is a utils.TimeoutError, e.g. . Note that this can't be done with the
current version of mozmill on pypi (1.5.4b2), but 1.5.4 final should
More information about the tb-planning