Closed
Bug 385880
Opened 17 years ago
Closed 17 years ago
[FIX]"ASSERTION: Non-row-group primary frame list child of an nsTableFrame?" with <xul:menubar>
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(4 keywords)
Attachments
(3 files)
206 bytes,
application/xhtml+xml
|
Details | |
1.16 KB,
patch
|
bernd_mozilla
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
1.19 KB,
patch
|
dveditz
:
approval1.8.1.5+
dveditz
:
approval1.8.0.13+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: Non-row-group primary frame list child of an nsTableFrame? How come?: 'Not Reached', file nsTableFrame.cpp, line 2723
This assertion was added in bug 367706, "OrderRowGroups should be typesafe".
Boris this is from your review comment https://bugzilla.mozilla.org/show_bug.cgi?id=311661#c16
Do you still think we need this?
Assignee | ||
Comment 3•17 years ago
|
||
Er... on non-OSX, menubar is special. On OSX, sometimes it creates no frame... and the rest of the time it's special. So the code is definitely wrong as-is. It's probably fine to always treat it as special. The other option is for the code here should do the same checks as the XUL frame construction code does, for OSX.
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
Flags: blocking1.8.1.5?
Flags: blocking1.8.0.13?
Comment 4•17 years ago
|
||
Boris, should we fix this or must we fix it? We are trying to triage this bug as blocking/non-blocking.
From my experience I would say every violation of IsSpecialContent leads to a crash, this assumes people like Jesse who are really determined to find them. The crashes might not be exploitable but they are crashes.
Assignee | ||
Comment 6•17 years ago
|
||
What bernd said. This can definitely be used to cause a crash, and probably an exploitable one (esp. on trunk).
Comment 7•17 years ago
|
||
Sounds like we'd like a branch fix, but given the lack of trunk progress (no assignee, for one) it's probably not realistic to actually "block" on it.
Flags: wanted1.8.1.x+
Flags: wanted1.8.0.x+
Flags: blocking1.8.1.5?
Flags: blocking1.8.0.13?
Assignee | ||
Comment 8•17 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #270352 -
Flags: superreview?(roc)
Attachment #270352 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #270352 -
Flags: review? → review?(bernd_mozilla)
Assignee | ||
Updated•17 years ago
|
Summary: "ASSERTION: Non-row-group primary frame list child of an nsTableFrame?" with <xul:menubar> → [FIX]"ASSERTION: Non-row-group primary frame list child of an nsTableFrame?" with <xul:menubar>
Target Milestone: --- → mozilla1.9beta1
Attachment #270352 -
Flags: review?(bernd_mozilla) → review+
Comment on attachment 270352 [details] [diff] [review]
Proposed fix
Remove the comment
// keep this in sync with IsSpecialContent
in ConstructXULFrame too.
Attachment #270352 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 10•17 years ago
|
||
Assignee | ||
Comment 11•17 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•17 years ago
|
||
Comment on attachment 270760 [details] [diff] [review]
patch merged to comments
I think we should get this in on branches too. It's a simple and safe fix for a broken frame tree that could lead to nasty crashes.
Attachment #270760 -
Flags: approval1.8.1.5?
Attachment #270760 -
Flags: approval1.8.0.13?
Comment 13•17 years ago
|
||
Comment on attachment 270760 [details] [diff] [review]
patch merged to comments
approved for 1.8.1.5 and 1.8.0.13, a=dveditz
Attachment #270760 -
Flags: approval1.8.1.5?
Attachment #270760 -
Flags: approval1.8.1.5+
Attachment #270760 -
Flags: approval1.8.0.13?
Attachment #270760 -
Flags: approval1.8.0.13+
Assignee | ||
Comment 14•17 years ago
|
||
Checked in on both branches.
Keywords: fixed1.8.0.13,
fixed1.8.1.5
Assignee | ||
Comment 15•17 years ago
|
||
Er, backed out of the 1.8 branch. It's closed. :(
Keywords: fixed1.8.1.5
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
You need to log in
before you can comment on or make changes to this bug.
Description
•