b4202427 by Ryo Chikazawa Committed by Gary Katsevman

Fix the spec to pass the test.

1 parent b5498ea1
......@@ -1247,7 +1247,7 @@ test('can be disposed before finishing initialization', function() {
ok(readyHandlers.length > 0, 'registered a ready handler');
try {
while (readyHandlers.length) {
readyHandlers.shift()();
readyHandlers.shift().call(player);
}
ok(true, 'did not throw an exception');
} catch (e) {
......