Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*

Issue #74
This commit is contained in:
janekptacijarabaci 2018-03-24 12:27:00 +01:00 • committed by Roy Tam
commit 95390009cc
10 changed files with 232 additions and 45 deletions

View file

@ -583,3 +583,4 @@ MSG_DEF(JSMSG_PROMISE_ERROR_IN_WRAPPED_REJECTION_REASON,0, JSEXN_INTERNALERR, "P
// Iterator
MSG_DEF(JSMSG_RETURN_NOT_CALLABLE, 0, JSEXN_TYPEERR, "property 'return' of iterator is not callable")
MSG_DEF(JSMSG_ITERATOR_NO_THROW, 0, JSEXN_TYPEERR, "iterator does not have a 'throw' method")