Closed Bug 887799 Opened 10 years ago Closed 10 years ago
Display better messages when errors come from other contexts
In testing/xpcshell/head.js we display detailed information about caught errors, based on an "instanceof Error" check. This fails if the error came from a different JS context. Here's a quick patch that uses duck typing instead of instanceof to get details from errors.
Attachment #768296 - Flags: review?(ted)
Attachment #768296 - Flags: review?(ted) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.