Bug 1230213 - test_TelemetryLog yields from a non generator function. r=dexter

This commit is contained in:
Salah 2015-12-09 12:11:00 +01:00
parent 48d2b518e5
commit 77d82ee082

View File

@ -24,8 +24,9 @@ function check_event(event, id, data)
}
}
function* run_test()
add_task(function* ()
{
do_get_profile();
yield TelemetrySession.setup();
TelemetryLog.log(TEST_PREFIX + "1", ["val", 123, undefined]);
@ -45,4 +46,4 @@ function* run_test()
do_check_true(log[1][1] <= log[2][1]);
yield TelemetrySession.shutdown();
}
});