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•5 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•5 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•5 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
Pushed by jorendorff@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/47e570e51385 Part 1: Update step numbers in comments to match current draft spec. r=anba
Assignee | ||
Comment 5•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=284889277abb25bab4977e8915b0be41d7794bec
Assignee | ||
Comment 6•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ba31e385b7b4d98beede20b93c951863548a1c39
Pushed by jorendorff@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99a6973af7ab Part 2: Fix error handling in %AsyncFromSyncIteratorPrototype% methods. r=anba
Comment 8•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Description
•