Closed Bug 1033343 Opened 11 years ago Closed 11 years ago

Crash [@ XPCVariant::VariantDataToJS] with CustomEvent

Categories

(Core :: DOM: Events, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: jruderman, Assigned: khuey)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(3 files)

Attached file testcase
I'm guessing this is a regression from bug 1031051 (patch part 17 reimplemented CustomEvent).
Attached file stack
This is so expected whenever one deals with JS manually :/
The old code had nsresult rv = NS_ERROR_UNEXPECTED; if (!mDetail) { aRetval.setNull(); } else if (!XPCVariant::VariantDataToJS(mDetail, &rv, aRetval)) { aRv.Throw(NS_ERROR_FAILURE); } the new one VariantToJsval(aCx, mDetail, aRetval);
Assignee: nobody → khuey
Attachment #8450373 - Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: