Closed Bug 245830 Opened 20 years ago Closed 20 years ago

object constructor forgotten after document.write

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 114461

People

(Reporter: armin, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.5.0.4g Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.5.0.4g After a document write my selfdeclared functions seem lost. I get an Obj1 is not defined error... Revision 1.7rc2 has the same problem, no problem with IE. Reproducible: Always Steps to Reproduce: 1. load the page 2. view javascript console Actual Results: above error Expected Results: another object
This is a dup; the IE behavior is non-standard and frankly weird -- as in, maybe a security hole weird. /be
Assignee: general → general
Component: JavaScript Engine → DOM: Level 0
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 114461 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.