+ alertTimeout = setTimeout(killAndFail, ALERT_TIMEOUT);
Don't do this. Let the normal mochitest timeout mechanism trigger test failure.
+ nsAlertsIconListener* alert = (nsAlertsIconListener*) user_data;
static_cast
+ alertTimeout = setTimeout( killAndFail, ALERT_TIMEOUT);
Don't do this. Let the normal mochitest timeout mechanism trigger test failure.
+ nsAlertsIconLis tener* alert = (nsAlertsIconLi stener* ) user_data;
static_cast