Open
Bug 1237808
Opened 8 years ago
Updated 2 years ago
Include asyncCaller when iterating rejection frames
Categories
(Toolkit :: Async Tooling, defect)
Tracking
()
NEW
People
(Reporter: jryans, Unassigned)
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
Some parts of our code now join two sides of an async operation into one stack with things like Cu.callFunctionWithAsyncStack. By checking the `asyncCaller` part of a stack, we can continue across the async barrier when reporting rejection stacks.
Reporter | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/29953/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/29953/
Attachment #8705381 -
Flags: review?(dteller)
Comment on attachment 8705381 [details] MozReview Request: Bug 1237808 - Include asyncCaller when iterating rejection frames. r=Yoric https://reviewboard.mozilla.org/r/29953/#review26819 ::: toolkit/modules/Promise-backend.js:197 (Diff revision 1) > - stack = stack.caller; > + stack = stack.asyncCaller || stack.caller; Mmmmh.... Is it really `asyncCaller` when we're trying to remove top frames? It would be great if you had a test for that.
Attachment #8705381 -
Flags: review?(dteller)
Reporter | ||
Updated•7 years ago
|
Assignee: jryans → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•