Closed Bug 86847 Opened 23 years ago Closed 23 years ago

prototype of Node, Element, and HTMLElement no longer scriptable

Categories

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

x86
Windows 95
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 83433

People

(Reporter: martin.honnen, Assigned: jst)

Details

Attachments

(1 file)

Before M0.9.1 Mozilla allowed you to script the prototype of the Node object, the Element object, the HTMLElement object. This allowed (together with the JavaScript 1.5 getter/setters) for things like inner/outerHTML emulation, adding methods like click or scrollIntoView to all HTMLElement elements etc. It was a very useful feature (though nowhere prescribed by standards). With M0.9.1 all this has vanished, Node.prototype is undefined, Element and HTMLElement are not even accessible themselves. Please remedy that as otherwise it will be very frustrating for developers to see the few innovative features Mozilla provided for DOM scripting vanish. Test case which tries to access the prototype property of Node, Element, HTMLElement follows.
*** This bug has been marked as a duplicate of 83433 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: lchiang → ian
v
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: