Closed
Bug 843661
Opened 11 years ago
Closed 11 years ago
Constructor not set on prototype objects of DOM interface functions
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 824007
People
(Reporter: erik, Unassigned)
Details
The following fails in Firefox 19.0. It works in IE10 and Chrome25. asssert(HTMLBodyElement.prototype.constructor === HTMLBodyElement) This makes it very hard to walk up the prototype chain of an object. Probably related to the Paris bindings work.
Comment 1•11 years ago
|
||
How did you test? <http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cscript%3E%0Aw%28HTMLBodyElement.prototype.constructor%20%3D%3D%3D%20HTMLBodyElement%29%0A%3C%2Fscript%3E> seems to work.
Comment 2•11 years ago
|
||
Try a newer build, for HTMLBodyElement. That said, what's hard about Object.getPrototypeOf?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•