Closed Bug 6092 Opened 25 years ago Closed 25 years ago

document.write() writes out statements twice in M5

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 2243

People

(Reporter: ekrock, Assigned: peterl-retired)

References

()

Details

Here's a bizarre one. These lines toward the bottom of the page are dynamically generated as the document is loaded by document.write() statements: ie:false ie3:false ie4:false ie4up:false ie5:false ie5up:false Bizarrely, in M5, those lines (only!) are displayed twice on screen (as if they'd been written out twice) even though they're only actually generated once. If you open the same page in IE5 or Nav4.51, you'll see the lines are only displayed once. What I can't figure out is why it's only these lines related to IE which are duplicated, not all the rest. Maybe it's that by coincidence those lines are somehow being scanned twice?
Here's the JavaScript that's writing out the segment. Maybe the first <P> written out is somehow triggering duplicate display? <br><script LANGUAGE="JavaScript"> <!-- document.write("nav:" + is_nav + "<BR>"); document.write("nav2:" + is_nav2 + "<BR>"); document.write("nav3:" + is_nav3 + "<BR>"); document.write("nav4:" + is_nav4 + "<BR>"); document.write("nav4up:" + is_nav4up + "<BR>"); document.write("nav5:" + is_nav5 + "<BR>"); document.write("nav5up:" + is_nav5up + "<BR>"); document.write("navonly:" + is_navonly + "<BR>"); document.write("<P>" + "ie:" + is_ie + "<BR>"); document.write("ie3:" + is_ie3 + "<BR>"); document.write("ie4:" + is_ie4 + "<BR>"); document.write("ie4up:" + is_ie4up + "<BR>"); document.write("ie5:" + is_ie5 + "<BR>"); document.write("ie5up:" + is_ie5up + "<BR>"); document.write("<P>" + "opera:" + is_opera + "<BR>"); //--> </script>
Assignee: norris → vidur
Component: JavaScript → DOM Level 0
QA Contact: 4590 → 4015
this is a dom thing, not core javascript.
QA Contact: 4015 → 4616
Status: NEW → ASSIGNED
Target Milestone: M7
The content model looks OK, so it's something to do with frame creation. Moving to M7.
Assignee: vidur → peterl
Status: ASSIGNED → NEW
Depends on: 2243
Target Milestone: M7
Peter, another closely related bug to 2243 and frame creation driven by the HTMLContentSink.
Status: NEW → ASSIGNED
Target Milestone: M8
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 2243 ***
Status: RESOLVED → VERIFIED
Duplicate. Marking verified.
You need to log in before you can comment on or make changes to this bug.