mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Since ES2018 iterator's next method is called once during the prologue of iteration, rather than during each step. The test is incorrect and stuck in an infinite loop. https://github.com/tc39/test262/pull/1248 fixed the test and it passes on test262-esnext. Removing test/language/statements/for-of/iterator-next-reference.js from test262-es2015 is necessary, because it won't pass ever and only slow down testing. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu