Make %AsyncFromSyncIteratorPrototype% methods return a rejected promise, not throw, when PromiseResolve throws
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(2 files)
:anba reported this spec bug as tc39/ecma262 issue #1461; the spec fix is PR 1470.
We need to implement that.
| Assignee | ||
Comment 1•7 years ago
|
||
The new steps are official since https://github.com/tc39/ecma262/pull/1250
landed. (Some of these step numbers change again in the next commit.)
| Assignee | ||
Comment 2•7 years ago
|
||
This makes %AsyncFromSyncIteratorPrototype%.next/return/throw return a rejected
promise, not throw, when PromiseResolve throws, following the usual convention
for methods that return promises. This follows proposed spec change
https://github.com/tc39/ecma262/pull/1470, which I expect will land with
little controversy.
Depends on D23029
Comment 3•7 years ago
|
||
Backed out 2 changesets (Bug 1534392) for failing in ecma262-issue-1461.js CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=233485112&repo=autoland&lineNumber=12023
Backout: https://hg.mozilla.org/integration/autoland/rev/00919ccaa29fbb72e5dec48903197acdb26ead0d
| Assignee | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
Comment 8•7 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•7 years ago
|
Description
•