Closed Bug 314759 Opened 20 years ago Closed 20 years ago

ASSERTION: title not in head: 'mCurrentContext == mHeadContext'

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: martijn.martijn, Assigned: mrbkap)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(2 files, 1 obsolete file)

See testcase, when having this: <html><head> <frameset></frameset> <title</title></head> </html> I get an assertion in current debug build. Notice the missing '>' in the <title> "###!!! ASSERTION: title not in head: 'mCurrentContext == mHeadContext', file c:/ mozilla/mozilla/content/html/document/src/nsHTMLContentSink.cpp, line 2980"
Attached file testcase (obsolete) —
Attached file testcase
There needs to be also some space at the beginning to get the assertion.
Attachment #201622 - Attachment is obsolete: true
This looks like it's fallout from one of Sicking's changes. Patch upcoming.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
We needed to close the head before opening the frameset (so that our flags got updated). This may have been my fault from bug 272702 after all.
Attachment #201657 - Flags: review?(bugmail)
Attachment #201657 - Flags: superreview?(jst)
Comment on attachment 201657 [details] [diff] [review] Close the head before opening frameset sr=jst
Attachment #201657 - Flags: superreview?(jst) → superreview+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Depends on: 341359
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: