Closed
Bug 1382258
Opened 7 years ago
Closed 7 years ago
[jsdbg2] Debugger fails to recognize async functions
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: jimb, Assigned: jimb)
References
Details
Attachments
(1 file)
11.89 KB,
patch
|
tromey
:
review+
|
Details | Diff | Splinter Review |
In some cases, the Debugger API doesn't recognize `async function` functions as scripted functions. For example, the `Debugger.Object.prototype.script` accessor returns `undefined` when applied to an async function. I have tests, and I'm working on a patch.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8890145 -
Flags: review?(ttromey)
Comment 2•7 years ago
|
||
Comment on attachment 8890145 [details] [diff] [review] Handle async functions properly in Debugger API. Review of attachment 8890145 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for doing this. This looks good.
Attachment #8890145 -
Flags: review?(ttromey) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9ab04bf5afc5 Handle async functions properly in Debugger API. r=tromey
Keywords: checkin-needed
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9ab04bf5afc5
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•