RESOLVED WONTFIX10889
the ownerDocument method in DOMNode should call ownerDocument() not document()
https://bugs.webkit.org/show_bug.cgi?id=10889
Summary the ownerDocument method in DOMNode should call ownerDocument() not document()
Sam Weinig
Reported 2006-09-16 08:02:01 PDT
The ownerDocument method for the Objective-C binding for DOMNode calls the implementation method document() instead of ownerDocument(). The spec says that we should be using the logic of ownerDocument(). The issue is that there might be people who depend on this behavior (we ourselves in fact do).
Attachments
David Kilzer (:ddkilzer)
Comment 1 2008-02-22 18:53:53 PST
Easy fix?
Darin Adler
Comment 2 2010-05-30 11:42:28 PDT
It’s easy to make this change, but then it would break clients who rely on the current behavior of returning self for Document. I suggest leaving this in the current Objective-C DOM bindings, but removing it if we ever have a chance to make a fresh start with a compatibility break.
Sam Weinig
Comment 3 2017-05-09 16:02:54 PDT
Not worth doing.
Note You need to log in before you can comment on or make changes to this bug.