Closed Bug 1126335 Opened 10 years ago Closed 6 years ago

Task.jsm should catch failures in overwriting the exception's stack property

Categories

(Toolkit :: Async Tooling, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Gijs, Unassigned)

References

Details

(In reply to :Paolo Amadini from bug 917322 comment #145) > (In reply to :Gijs Kruitbosch from comment #144) > > Paolo or Yoric, do you know what's going on with the Promise/Task exception > > handling code here? Can we avoid its own exceptions replacing the exceptions > > it's trying to give us a better stack for? > > We definitely fail when we cannot rewrite the "stack" property: > > http://mxr.mozilla.org/mozilla-central/source/toolkit/modules/Task.jsm#422 > > It's probably worth filing a bug to put the whole block inside try-catch, > although when bug 1083359 is done we'll be able to avoid rewriting > completely.
Flags: qe-verify-
Flags: in-testsuite?
Flags: firefox-backlog?
Per bug 1515695, we're moving away from Task.jsm, hence wontfix.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: in-testsuite?
Flags: firefox-backlog?
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.