Closed Bug 1007458 Opened 10 years ago Closed 10 years ago

Crash passing a cross-origin window object as an "argument" to showModalDialog

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla32
Tracking Status
firefox32 --- verified

People

(Reporter: jruderman, Assigned: bzbarsky)

Details

(Keywords: assertion, crash, testcase)

Crash Data

Attachments

(3 files)

###!!! ASSERTION: bad param: 'value', file /Users/jruderman/trees/mozilla-central/js/xpconnect/src/nsXPConnect.cpp, line 1009

Followed by a crash [@ XPCVariant::VariantDataToJS]
Attached file stack
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment on attachment 8419475 [details] [diff] [review]
Actually check for errors when converting a Value to a variant in showModalDialog

I guess this is fine. Edge case in an API we want to get rid of anyway.
Attachment #8419475 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/1c5877af35e1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Repro in Nightly 2014-05-08-mozilla-central-debug.
Verified fixed Nightly 32.0a1 2014-05-27-mozilla-central-debug, Win 7 x64.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: