[Webkit-unassigned] [Bug 11315] Mutating document.constructor.prototype mutates Object.prototype

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 18 09:57:11 PDT 2006


------- Comment #6 from bleroy at microsoft.com  2006-10-18 09:57 PDT -------
That explains it, thanks. We could actually have changed the document object
directly instead of document.constructor.prototype as there is only one...
Personally, I wouldn't expect WebKit to fix that as long as document is of type
Object, but...
Has the WebKit team considered doing what Firefox and Opera are doing, which is
that elements are instances of HTMLElement, and document is an instance of
HTMLDocument (both types deriving from Node)?

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list