mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Fix: poisoned next function in "IteratorClose is called when reference evaluation produces a "return" completion". Fixes gh-670
This commit is contained in:
parent
76dacfb17c
commit
ac19f339e7
@ -45,6 +45,9 @@ var thisValue = null;
|
||||
var args = null;
|
||||
var iterable = {};
|
||||
var iterator = {
|
||||
next() {
|
||||
throw new Test262Error();
|
||||
},
|
||||
return: function() {
|
||||
returnCount += 1;
|
||||
thisValue = this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user