Closed
Bug 111361
Opened 23 years ago
Closed 23 years ago
Accessing DOM CSS constants causes crash.
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: mike, Assigned: jst)
References
()
Details
(Keywords: crash, dom2, Whiteboard: [HAVE FIX])
Attachments
(1 file)
663 bytes,
patch
|
bbaetz
:
review+
jband_mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Accessing DOM CSS constants is causing Moz 0.9.5+ and above to crash. Simple assignements, such as: var foo = CSSValue.CSS_PRIMITIVE_VALUE or comparisons, such as if (CSSPrimitiveValue.CSS_MM == bar) ... will reproduce the crash. For some test cases, see the document in the URL field. I can reproduce this with Windows and Linux buiolds from 2001-11-21. See talkback incident #TB38351590Q for talkback data from a 0.9.6 build. I'll attach a stack trace from a recent nightly.
Reporter | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 2•23 years ago
|
||
Thanks for the testcase, this was trivial to fix given this nice and simple testcase.
Comment 3•23 years ago
|
||
Comment on attachment 58820 [details] [diff] [review] Proposed fix. r/sr=jband
Attachment #58820 -
Flags: superreview+
Reporter | ||
Comment 4•23 years ago
|
||
No problem, thanks for the quick turnaround. Is that some sort of record? 8) Want me to do a build with the patch to confirm it fixes the crash?
Assignee | ||
Comment 5•23 years ago
|
||
No need to do a build, but if you want to, be my guest but I might check this in real soon now :-)
Reporter | ||
Comment 6•23 years ago
|
||
Cool, I'll wait until you check it in.
Comment 7•23 years ago
|
||
Comment on attachment 58820 [details] [diff] [review] Proposed fix. r=bbaetz
Attachment #58820 -
Flags: review+
Assignee | ||
Comment 8•23 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 9•23 years ago
|
||
How about a comment in nsScriptNameSpaceManager.h telling which mType values discriminate which union arms. /be
Comment 10•23 years ago
|
||
*** Bug 111027 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
Comments added.
Reporter | ||
Comment 12•23 years ago
|
||
Cool, the crash is gone, marking verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•