Closed Bug 974546 Opened 6 years ago Closed 6 years ago

SpecialPowers wrappers should catch, wrap, and rethrow exceptions for callables

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla30

People

(Reporter: bholley, Assigned: bholley)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In the current world, if a SpecialPowers-wrapped privileged function throws, the resulting exception is opaque to content. This is less-than-ideal for debugging, so let's see if we can do something clever here.
Attachment #8378566 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/7dc90f3c1a21
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.