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)

x86_64
Linux
defect
Not set
normal

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.
Try a newer build, for HTMLBodyElement.

That said, what's hard about Object.getPrototypeOf?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.