mirror of https://github.com/tc39/test262.git
Add descriptions for async-iter suspended execution tests (#894)
Fixes #889
This commit is contained in:
parent
4108569dd7
commit
471bde9162
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a return type completion.
|
||||
Returning promise before start
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedStart", generator is closed without being resumed.
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a return type completion.
|
||||
Returning non-promise before start
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedStart", generator is closed without being resumed.
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a return type completion.
|
||||
Returning promise
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", generator is resumed and immediately closes the generator
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Returned generator suspended in a yield position resumes execution within
|
||||
an associated finally
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Returned generator suspended in a yield position resumes execution
|
||||
within an associated finally, capturing a new abrupt completion and
|
||||
does not resume again within that finally block.
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Returned generator suspended in a yield position resumes execution within
|
||||
an associated finally.
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Returned generator suspended in a yield position does not resume execution
|
||||
without an associated finally.
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", generator is resumed and immediately closes the generator
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a throw completion with a promise arg before
|
||||
start
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedStart", generator is closed without being resumed.
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a throw completion with a non-promise arg
|
||||
before start
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedStart", generator is closed without being resumed.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a throw completion with a promise arg
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", generator is resumed and immediately and
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Thrown generator suspended in a yield position resumes execution within
|
||||
the associated catch-block
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Thrown generator suspended in a yield position resumes execution within
|
||||
the associated finally block, returns and suspends execution again.
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Thrown generator suspended in a yield position resumes execution within
|
||||
the associated finally block and throws an error and suspendeds execution
|
||||
again
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Thrown generator suspended in a yield position resumes execution within
|
||||
the associated finally block.
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", and generator is resumed within a try-block with an
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: pending
|
||||
description: >
|
||||
Generator is not resumed after a throw completion with an error object
|
||||
info: |
|
||||
AsyncGeneratorResumeNext:
|
||||
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
|
||||
"suspendedYield", generator is resumed and immediately and
|
||||
|
|
Loading…
Reference in New Issue