mirror of https://github.com/tc39/test262.git
parent
0a22ea3d29
commit
8688c4ab79
|
@ -51,12 +51,12 @@ emptyCells().then(function() {
|
||||||
assert.throws(Test262Error, function() {
|
assert.throws(Test262Error, function() {
|
||||||
fg.cleanupSome(poisoned);
|
fg.cleanupSome(poisoned);
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.sameValue(called, 1);
|
assert.sameValue(called, 1);
|
||||||
|
|
||||||
assert.sameValue(typeof iterator, 'object');
|
assert.sameValue(typeof iterator, 'object');
|
||||||
assert.sameValue(typeof iteraror.next, 'function');
|
assert.sameValue(typeof iterator.next, 'function');
|
||||||
assert.throws(TypeError, function() {
|
assert.throws(TypeError, function() {
|
||||||
iterator.next();
|
iterator.next();
|
||||||
}, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false');
|
}, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false');
|
||||||
}).then($DONE, resolveAsyncGC);
|
}).then($DONE, resolveAsyncGC);
|
||||||
|
|
Loading…
Reference in New Issue