Closed Bug 396836 Opened 18 years ago Closed 15 years ago

"ASSERTION: Adding child where we already have a child?" with document.write into frame

Categories

(Core :: DOM: Navigation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

References

()

Details

(Keywords: assertion)

Steps to reproduce: 1. Load http://htmledit.squarefree.com/ 2. Type stuff Result: For every letter pressed, ###!!! ASSERTION: Adding child where we already have a child? This will likely misbehave: 'Error', file /Users/jruderman/trunk/mozilla/docshell/shistory/src/nsSHEntry.cpp, line 543 (Split from bug 344216.)
I only see the assert on load here. The issue is that the root docshell has a non-null mLSHE, but we're writing into an existing kid frame. I think the same effect could be achieved by starting a new load into such an existing frame before the toplevel page is done loading. Someone needs to redesign session history.
I get this same assertion when logging into an AIM account on www.meebo.com, using a current Linux trunk build.
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
It only happens for me when loading this page. It is the same stack as what we have on bug 462076.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Depends on: 462076
Resolution: DUPLICATE → ---
Blocks: 535466
Fixed (by bug 462076)
Status: REOPENED → RESOLVED
Closed: 16 years ago15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.