Skip to content

Iterator/concat/next-method-returns-throwing-value-done.js is outdated #4380

Open
@woess

Description

@woess

test/built-ins/Iterator/concat/next-method-returns-throwing-value-done.js incorrectly throws ValueGetterError since tc39/proposal-iterator-sequencing#19 has introduced an extra IteratorValue step:

2. If _iteratorResult_ is ~done~, then
  a. Perform ? IteratorValue(_iteratorResult_).

The test should be changed to expect Iterator.concat getting the value of the iterator result when the underlying iterator is done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions