test(firefox): fix ready callback