Closed
Bug 1587580
Opened 5 years ago
Closed 5 years ago
Use the actual source filename and line number for SpecialPowers.spawn callback
Categories
(Testing :: Mochitest, enhancement)
Tracking
(firefox71 fixed)
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
SpecialPowers.spawn currently uses its caller's location as the source location when it re-evaluates its callback in the content process. Unfortunately, the callback is not always defined on the same line as the spawn() call, especially once "prettier" has done its mangling.
So let's just extract the actual source location from the callback instead. It will make debugging errors much easier.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6f39a839d532 Use the actual source filename and line number for SpecialPowers.spawn callback. r=mccr8
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•