Closed Bug 22838 Opened 25 years ago Closed 25 years ago

using document.write to embed a <SCRIPT LANGUAGE="JavaScript" SRC="*.js"> tag doesn't work

Categories

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

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: Don.Shin, Assigned: rickg)

References

()

Details

Attachments

(1 file)

When you use an HTML doc to embed a .js file which in turn uses document.write to write an HTML tag that also embeds a .js file (like SRC Including a SRC Include), the page disappears and only the HTML for the latter .js file remains. While this code works for Internet Explorer 3 and higher and Netscape Nav 3 and higher for both MacOS (7 and up), Wintel (95/98), and Solaris, M12 doesn't display properly (at least on Mac). The given URL is an isolated code example derived from http:// www.kpic.org/home.html
Err, sorry about that -- the first given attachment was meant for a different bug.
Assignee: rickg → petersen
I'm not able to reproduce this with today's build. Chris, can you please test this problem with tomorrow's build (1/4/2000) to verify?
I see the behaviour below with 2000010416 win95 (although I'm not sure if this is Parser as opposed to DOM|Webshell -- the innermost document.write appears to have a handle on a different document than prior calls). -- -- Nav 4.6 win95 output (>) is: 2000010416 win95 output (>) is: > outermost message start > outermost message start > start middle level > start middle level > innermost message > end middle level > end middle level > outermost message finish > outermost message finish then the screen blanks and ... > innermost message
*** Bug 22699 has been marked as a duplicate of this bug. ***
With the Jan 26th build (2000012612), this problem is not occuring. The document is rendered the same way as Nav 4.6.
Assignee: petersen → rickg
I'm marking this as worksForMe due to my inability to duplicate it, and petersens confirmation of same.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
updated qa contact.
QA Contact: janc → bsharma
QA Contact: bsharma → moied
not a valid URL any more its too old, verified WFM as per comment 6 and 7
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: