Closed
Bug 1354212
Opened 7 years ago
Closed 7 years ago
Async generator functions created through AsyncGenerator have an incorrect source representation
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(1 file)
5.73 KB,
patch
|
arai
:
review+
|
Details | Diff | Splinter Review |
Test case: --- var AsyncGenerator = async function*(){}.constructor; print(AsyncGenerator("").toString()); --- Expected: Prints ``` async function* anonymous( ) { } ``` Actual: Prints ``` async function anonymous( ) { } ```
Assignee | ||
Comment 1•7 years ago
|
||
The test262 tests were derived from the existing test262 tests for the async functions.
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Attachment #8855803 -
Flags: review?(arai.unmht)
Updated•7 years ago
|
Attachment #8855803 -
Flags: review?(arai.unmht) → review+
Assignee | ||
Comment 2•7 years ago
|
||
Test262 PR: https://github.com/tc39/test262/pull/955
Assignee | ||
Comment 3•7 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f573b326c4edde1d35189ac4c76e7493be39a4ca
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5649b13d63fc Fix source representation for async generators created through AsyncGenerator intrinsic. r=arai
Keywords: checkin-needed
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5649b13d63fc
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•