Closed Bug 211362 Opened 21 years ago Closed 21 years ago

Element.replaceChild is writable

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bc, Unassigned)

Details

Attachments

(1 file)

You can over-write the replaceChild method of an element.
Attached file testcase
this happens on 1.4 and trunk
Hmm.. why is this a bug? There's no reason that you should not be able to
override functions on objects if you want to, is there?
maybe it's not a bug. I mistakenly thought this was a unique case.
Nope, not a bug. You can do the same with any DOM methods...
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Component: DOM: Core → DOM: Core & HTML
QA Contact: desale → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: