Closed Bug 1290 Opened 26 years ago Closed 25 years ago

document.write() is unacceptably slow

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rh, Assigned: vidur)

References

()

Details

(Whiteboard: [Perf])

Does viewer.exe with newlayout support javascript? When I try to view this file: 1) it takes a very very long time for anything to happen. 2) it is not detected as netscape 5.0 technology We need to finish development of html technology that detects if the browser is netscape 5.0 (in order to know of full support of CSS2 is available).
Assignee: kipp → vidur
Component: Layout → DOM
Summary: javascript browser detection not work → document.write() is unacceptably slow
I changed the summary to reflect the nature of this bug. Changing component and reassigning to Vidur; this is a DOM bug not a layout bug (I think). It takes way too long for this document to load. All it's doing is appending a bunch of text to a string (variable name "output") which is finally rendered via document.write(). Not sure if the delay is caused by all the appending or the document.write, but I'm assuming the latter. Note the navigator.userAgent issue is a separate bug which I'll file on Tom.
Assignee: vidur → gagan
I'm not exactly sure what's causing the page to take so long to load, but it's definitely not the document.write. It seems to take an interminably long time to get to the script tag, but once it's there, it's pretty zippy. Reassigning to gagan, since I think it's netlib related.
Status: NEW → ASSIGNED
Investigating...
Setting all current Open/Normal to M4.
setting paulmac as QA contact for all gagan's bugs (sorry for the spam)
Marking till Necko lands...
Target Milestone: M4 → M6
Per DP's suggestion marking these till M8. Though Necko lands with M7, we will be able to verify it for M8.
Whiteboard: [Perf]
I'm moving this to target M9, Necko will be enabled somewhere during late M8 or early M9. We will need to get on this and it cannot be postponed past the M9 milestone.
Blocks: 8691
Assignee: gagan → vidur
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
The link to the test case is no longer valid. Could the bug reporter please update the link?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I got mail from Rebecca Harvey, the bug reporter (she forgot her bugzilla password). She believes the bug has been fixed, but can't find the test file. I concur - we've worked on document.write() performance and will continue to do so. I'm marking the bug fixed and hope to get the original test file at some point for regression testing.
QA Contact: paulmac → desale
Status: RESOLVED → VERIFIED
Marking verified.
Flags: in-testsuite-
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.