Closed
Bug 309307
Opened 20 years ago
Closed 12 years ago
WARNING: NS_ENSURE_TRUE(scount != 0) failed, file ../../../../../mozilla/parser/htmlparser/src/nsDTDUtils.cpp, line 297
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
RESOLVED
WONTFIX
mozilla1.9alpha1
People
(Reporter: Biesinger, Unassigned)
References
()
Details
Attachments
(1 file, 1 obsolete file)
4.37 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
linux, gtk2, seamonkey, trunk, checkout finish: So Sep 18 22:29:45 CEST 2005
Loading http://www.mozilla.org shows the warning:
WARNING: NS_ENSURE_TRUE(scount != 0) failed, file
../../../../../mozilla/parser/htmlparser/src/nsDTDUtils.cpp, line 297
Comment 1•20 years ago
|
||
I'll try to figure out what this means.
Assignee: parser → mrbkap
QA Contact: mrbkap → parser
Comment 2•20 years ago
|
||
There are at least 2 causes for this warning. I've found one of them so far.
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
I have to admit that I don't entirely understand what's going on here. I'm
pretty convinced this fix is correct for this problem, however. I hit the
warning on the testcase: |<body><object><b><div> </object>| (the space is
important) because we're not updating one of the style entry's parent pointers,
causing us to try to remove it from that style stack twice.
This seems to fix the warning (assertion for me! ;-)) on
http://www.mozilla.org.
Attachment #197869 -
Flags: review?(jst)
Comment 4•20 years ago
|
||
If we didn't find the style entry on its parent (I don't know how this happens
yet), we would crash with the old patch.
Attachment #197869 -
Attachment is obsolete: true
Attachment #197879 -
Flags: review?(jst)
Updated•20 years ago
|
Attachment #197869 -
Flags: review?(jst)
Comment 5•20 years ago
|
||
Comment on attachment 197879 [details] [diff] [review]
Fix the bogus patch
r+sr=jst
Attachment #197879 -
Flags: superreview+
Attachment #197879 -
Flags: review?(jst)
Attachment #197879 -
Flags: review+
Comment 6•20 years ago
|
||
Attachment 197879 [details] [diff] checked in. Leaving this bug open to investigate the second
cause of this warning.
![]() |
||
Updated•20 years ago
|
Flags: blocking1.9a1?
Updated•19 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla1.9alpha
Updated•19 years ago
|
Flags: blocking1.9a1? → blocking1.9-
Updated•16 years ago
|
Assignee: mrbkap → nobody
Comment 7•15 years ago
|
||
This is a mass change. Every comment has "assigned-to-new" in it.
I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Comment 8•12 years ago
|
||
It isn't worth fixing the second cause of this anymore.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•