<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>10889</bug_id>
          
          <creation_ts>2006-09-16 08:02:01 -0700</creation_ts>
          <short_desc>the ownerDocument method in DOMNode should call ownerDocument() not document()</short_desc>
          <delta_ts>2017-05-09 16:02:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Weinig">sam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55664</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2006-09-16 08:02:01 -0700</bug_when>
    <thetext>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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71547</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-02-22 18:53:53 -0800</bug_when>
    <thetext>Easy fix?

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232209</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-05-30 11:42:28 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306649</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2017-05-09 16:02:54 -0700</bug_when>
    <thetext>Not worth doing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>