Closed
Bug 4384
Opened 26 years ago
Closed 26 years ago
DOM - <SCRIPT> element is not visible through the DOM
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: ckritzer, Assigned: vidur)
Details
Platforms Tested On:
- MacOS8.5 viewer build 99088
- Win95 viewer build 99088
- RedHatLinux5.2 viewer build 99088
Reporter | ||
Updated•26 years ago
|
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•26 years ago
|
||
Here is an HTML testcase (also available online @ above URL):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>bugzilla4384.html</TITLE>
<!-- Descrpt: SCRIPT not Viewable in DOM
Author: ckritzer@netscape.com
Revs: 03.29.99 - Created
CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS
CORPORATION. Copyright © 1996, 1997, 1998, 1999 Netscape Communications
Corporation. All rights reserved. Use of this Test Script is subject
to the terms of the applicable license agreement from Netscape
Communications Corporation.
-->
<SCRIPT TYPE="text/javascript" id='foo'>
//-- functions --//
// listTags()
// -- lists out all the tags currently in document
function listTags(sList) {
for (i = 0; i < sList.length; i++) {
document.write("tag #" + i + " = " + sList.item(i) + "<br>");
}
}
//-- END functions --//
</SCRIPT>
</HEAD>
<BODY>
<H1>Bugzilla bug#4384</H1>
<H3>Section I - <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=4384"
target="Bugzilla#4384">Bug Description</a></H3>
You should see three sections of text, labeled Sections I, II, III.
Each section should be divided from the other by a horizontal line.
<br> <B>The SCRIPT Tag (and all tags following it) are not viewable by DOM.</B>
<HR>
<H3>Section II - Bug Output</H3>
<SCRIPT type="text/javascript">
sElements = "*";
thisDoc = document.getElementsByTagName(sElements);
listTags(thisDoc);
</SCRIPT>
<HR>
<H3>Section III - Bug Rump</H3>
This is the End. In <B>Bold</B>, and <I>Italic</I>, no less. With a <BR>break,
of course.
</BODY>
</HTML>
Reporter | ||
Updated•26 years ago
|
QA Contact: 4015 → 4120
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 3•26 years ago
|
||
Marked Verified as duplicate bug of 2742.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•