Closed Bug 769464 Opened 12 years ago Closed 12 years ago

getComputedStyle(worker) crashes

Categories

(Core :: XPConnect, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla17
Tracking Status
firefox13 --- unaffected
firefox14 --- unaffected
firefox15 --- unaffected
firefox16 + verified
firefox17 --- verified
firefox-esr10 --- unaffected

People

(Reporter: jruderman, Assigned: peterv)

References

Details

(4 keywords, Whiteboard: [advisory-tracking-])

Crash Data

Attachments

(3 files)

      No description provided.
Attached file stack trace
Oops.  castNative has:

        if (dom::IsDOMClass(clasp)) {
            native = dom::UnwrapDOMObject<nsISupports>(cur);
            entries = nsnull;

which is bogus: it needs to make sure that the native is isupports!

Peter, do you want to patch, or should I?  I seem to recall you having some helpers for checking the isupports thing around....
Group: core-security
This is a regression from bug 760131.
Depends on: 760131
Blocks: 760131
No longer depends on: 760131
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attached patch v1Splinter Review
Attachment #641566 - Flags: review?(bzbarsky)
Comment on attachment 641566 [details] [diff] [review]
v1

r=me.  First binding crashtest.  *sniff*
Attachment #641566 - Flags: review?(bzbarsky) → review+
Comment on attachment 641566 [details] [diff] [review]
v1

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 760131
User impact if declined: crashes
Testing completed (on m-c, etc.): landed on mozilla-inbound, has crashtest
Risk to taking this patch (and alternatives if risky): low risk
String or UUID changes made by this patch: none
Attachment #641566 - Flags: approval-mozilla-aurora?
This is asserting on OS X roughly half the time. Backed out since otherwise we would have to delay the inbound merge even longer today:
https://tbpl.mozilla.org/php/getParsedLog.php?id=13576427&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13577693&tree=Mozilla-Inbound

https://hg.mozilla.org/integration/mozilla-inbound/rev/50448898a28f
Target Milestone: mozilla17 → ---
Target Milestone: --- → mozilla17
https://hg.mozilla.org/mozilla-central/rev/0030a8043e4a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 641566 [details] [diff] [review]
v1

[Triage Comment]
Low-risk, sg:crit fix for a regression in FF16. Approved for Aurora 16.
Attachment #641566 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Keywords: verifyme
Whiteboard: [advisory-tracking-]
Confirmed crash on build 2012-6-28, nightly
Verified fixed on build 2012-9-30, release
Verified fixed on build 2012-11-13, 17.0b6
Status: RESOLVED → VERIFIED
Group: core-security
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: