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)
Tracking
()
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.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 83433 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
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
•