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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26566</bug_id>
          
          <creation_ts>2014-08-13 07:48:46 +0000</creation_ts>
          <short_desc>Clarify that document.links and friends always return the same object</short_desc>
          <delta_ts>2014-09-24 17:40:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dom-tree-accessors</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110123</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-08-13 07:48:46 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html
Multipage: http://www.whatwg.org/C#dom-tree-accessors
Complete: http://www.whatwg.org/c#dom-tree-accessors
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html

Comment:
Clarify that document.links and friends always return the same object

Posted from: 81.242.222.5 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111450</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-12 17:50:56 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8765.
Check-in comment: require that document.images and friends always return the same object. This&apos;ll be great until either we find that browsers don&apos;t always return the same object or until someone notices that this implies that two different Documents will return the same object.
http://html5.org/tools/web-apps-tracker?from=8764&amp;to=8765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111451</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-09-12 17:54:12 +0000</bug_when>
    <thetext>&gt; this implies that two different Documents will return the same object

How so, exactly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111488</commentid>
    <comment_count>3</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-09-14 19:35:08 +0000</bug_when>
    <thetext>&quot;The same object must be returned each time.&quot;; I assume Hixie was being overly pedantic here. (And that&apos;s coming from me :).)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111489</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-14 21:08:03 +0000</bug_when>
    <thetext>Yeah. The wording is the same as in other parts of the spec, and we seem to have interop with those, so I&apos;m leaving it as-is for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111490</commentid>
    <comment_count>5</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-09-14 21:27:47 +0000</bug_when>
    <thetext>Yeah, we could throw in something about each time the getter is invoked on with the same Document as &quot;this&quot;, I guess...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111491</commentid>
    <comment_count>6</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-09-14 21:28:44 +0000</bug_when>
    <thetext>Or you could use [SameObject] and get this for free from Web IDL (which defines this a little more carefully).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112089</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-24 17:40:33 +0000</bug_when>
    <thetext>Ok I moved the spec to [SameObject] throughout. The diff below contains this change and others, sorry for mixing them together but they were all part of one editing session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112090</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-24 17:40:50 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8808.
Check-in comment: Various editorial IDL changes
https://html5.org/tools/web-apps-tracker?from=8807&amp;to=8808</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>