<?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>15274</bug_id>
          
          <creation_ts>2007-09-24 14:11:16 -0700</creation_ts>
          <short_desc>REGRESSION: NameNodeList fails to invalidate length cache</short_desc>
          <delta_ts>2007-10-14 04:49:51 -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>DOM</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.lptl.jussieu.fr/users/bernu/pub/fred.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bernard Bernu">bernu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42</commentid>
    <comment_count>0</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-24 14:11:16 -0700</bug_when>
    <thetext>I replace an element in Javascript by :
   y = cloneNode( x ) 
   removeChild( x ) 

Then I try to access &quot;y&quot; using GetElementsByName, BUT I get an &quot;undefined value&quot;

It looks like some pointers are not handled correctly.

In the example, clicking one of the the lines lead to an error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38</commentid>
    <comment_count>1</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-24 14:33:13 -0700</bug_when>
    <thetext>sounds related to bug #8080</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-24 21:58:53 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; I replace an element in Javascript by :
&gt;    y = cloneNode( x ) 
&gt;    removeChild( x ) 
&gt; 
&gt; Then I try to access &quot;y&quot; using GetElementsByName, BUT I get an &quot;undefined
&gt; value&quot;

Have you added &quot;y&quot; to the document when you try to use getElementsByName()?  If not, it won&apos;t be found.

Please post a test case.  The URL on the bug seems to be inaccessible now:

http://www.lptl.jussieu.fr/users/bernu/pub/fred.html

Thanks!

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-24 23:34:36 -0700</bug_when>
    <thetext>The test case is accessible now, but after a quick look at it I&apos;m not able to determine what to do to reproduce the described bugs.  Clicking on the links has no visible effect.  A minimal test case with clear instructions which makes clear what you consider to be the PASS/FAIL condition would be great!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11</commentid>
    <comment_count>4</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-25 01:08:15 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; The test case is accessible now, but after a quick look at it I&apos;m not able to
&gt; determine what to do to reproduce the described bugs.  Clicking on the links
&gt; has no visible effect.  A minimal test case with clear instructions which makes
&gt; clear what you consider to be the PASS/FAIL condition would be great!
&gt; 

The messages appear in the console.log :
Clicking on the link gives :

my_a a-2
&lt;DOMNodeList: 0x5387dc0&gt;
2
&lt;DOMNodeList: 0x4c0be0&gt;
2
Undefined value  line 21


The first 4 lines are ok (of course, thenode addreesses will be different each time)
The last line shows the error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2</commentid>
    <comment_count>5</comment_count>
      <attachid>16385</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-25 07:20:59 -0700</bug_when>
    <thetext>Created attachment 16385
Test case from URL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56996</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2007-09-25 08:55:46 -0700</bug_when>
    <thetext>The reason &quot;undefined value&quot; is being returned in the test case is that NodeLists indexing is 0 based, not 1 based.  Therefore, xs[2] does not exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56997</commentid>
    <comment_count>7</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-25 09:22:35 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; The reason &quot;undefined value&quot; is being returned in the test case is that
&gt; NodeLists indexing is 0 based, not 1 based.  Therefore, xs[2] does not exist.
&gt; 
Right.
Sorry for posting this. 
I have a problem on a more complicated case and I thoughI found where was the problem.
I go back to work more on it
Sorry again for that
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57028</commentid>
    <comment_count>8</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-25 14:01:49 -0700</bug_when>
    <thetext>I think I found the real problem.
(http://www.lptl.jussieu.fr/users/bernu/pub/fred.html)

the Javascript is reduced to 
function del( ){
	var divs = document.getElementsByName( &quot;my_a&quot; ) ;
	divs[0].parentNode.removeChild( divs[ 0 ] ) ;
	console.log( divs.length ) ;
	console.log( divs[0].id ) ;
	console.log( divs[1].id ) ;
}
and the HTML to 
&lt;body&gt;
	&lt;div href=&quot;&quot; id=&quot;a-1&quot; name=&quot;my_a&quot;  &gt;div 1&lt;/div&gt;
	&lt;div href=&quot;&quot; id=&quot;a-2&quot; name=&quot;my_a&quot;  &gt;div 2&lt;/div&gt;
	&lt;input type=&quot;submit&quot; onclick=&quot;del() ; return false;&quot; /&gt;
&lt;/body&gt;
The result in the console is
2
a-1
Null value error on line accessing divs[1].id

What I understand is : 
  getElementsByName gives a list of 2 nodes.
  Removing the first div leaves the nodeList divs with 2 elements.
  Accessing the first element surprinsingly worked here (but might not in a more complicate case)
  Accessing the second element fails on Safari.

On FireFox, the result is more consistent :
1
a-2
error divs[1] has no property.

Thus, removing an element in a list is the problem that WebKit is not doing as other browsers.

After removing divs[0], divs.length=1 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57030</commentid>
    <comment_count>9</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-25 14:15:07 -0700</bug_when>
    <thetext>Bernard, can you please attach a standalone test case that matches what you describe?  This will make it much easier to verify that we&apos;re all looking at the same thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57031</commentid>
    <comment_count>10</comment_count>
    <who name="Bernard Bernu">bernu</who>
    <bug_when>2007-09-25 14:18:50 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Bernard, can you please attach a standalone test case that matches what you
&gt; describe?  This will make it much easier to verify that we&apos;re all looking at
&gt; the same thing.
&gt; 

I did put the following link at the top of my comment. 
I just verified the example is accessible
http://www.lptl.jussieu.fr/users/bernu/pub/fred.html

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57033</commentid>
    <comment_count>11</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-25 14:24:12 -0700</bug_when>
    <thetext>Sorry about that, I totally missed that link :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57064</commentid>
    <comment_count>12</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-09-26 04:11:26 -0700</bug_when>
    <thetext>I would guess removeChild is failing to invalidate the cache kept by the divs collection that getElementsByName returns.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57831</commentid>
    <comment_count>13</comment_count>
      <attachid>16541</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-10-05 04:20:35 -0700</bug_when>
    <thetext>Created attachment 16541
further reduced test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57832</commentid>
    <comment_count>14</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-10-05 04:21:51 -0700</bug_when>
    <thetext>This is a regression from shipping Safari/WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57856</commentid>
    <comment_count>15</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-10-05 08:46:40 -0700</bug_when>
    <thetext>Note that this bug reproduces in WebKit nightly build r11976 (earliest nightly build available).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57857</commentid>
    <comment_count>16</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-10-05 08:52:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/5524756&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58054</commentid>
    <comment_count>17</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-07 19:14:22 -0700</bug_when>
    <thetext>My guess is this was hyatt&apos;s qname patch:
http://trac.webkit.org/projects/webkit/changeset/9824

I don&apos;t see why rootNodeChildrenChanged: 
    // Other methods (not part of DOM)
    virtual void rootNodeChildrenChanged() { }
    virtual void rootNodeAttributeChanged() { NodeList::rootNodeChildrenChanged(); }

should be empty like that.  I expect it really should invalidate its length cache, if nothing else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58055</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-07 19:30:18 -0700</bug_when>
    <thetext>Well, it may still have been broken by the qname change (I&apos;m unsure of that).  That&apos;s where the rootNodeChildrenChanged() function came from as far as I can tell.  However, it does not appear that rootNodeChildrenChanged() is the right function to call.  As mjs suggested, it&apos;s simply that a node doesn&apos;t know to tell the document to invalidate its name caches when it&apos;s removed.  A node removed anywhere in the tree should check its name and then notify the caches.  A node whos name changes anywhere in the tree will need to do the same.

It looks like
bool EventTargetNode::dispatchSubtreeModifiedEvent(bool sendChildrenChanged)

is the responsible function.  Which isn&apos;t very smart about what nodes it notifies, it just does a blanket notification it seems.  It looks like the current system indicates that the empty override for rootNodeChildrenChanged() should simply be removed (and that will fix the problem).  There might be a more efficient solution to build however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58057</commentid>
    <comment_count>19</comment_count>
      <attachid>16584</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-07 20:07:05 -0700</bug_when>
    <thetext>Created attachment 16584
a fix

If this is approved for trunk, please someone else land it.  If it&apos;s approved only for feature-branch, I&apos;m happy to land the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58433</commentid>
    <comment_count>20</comment_count>
      <attachid>16584</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-10-13 18:17:29 -0700</bug_when>
    <thetext>Comment on attachment 16584
a fix

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58489</commentid>
    <comment_count>21</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-14 04:49:51 -0700</bug_when>
    <thetext>Landed in r26585 after adding a LayoutTest ChangeLog entry.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16385</attachid>
            <date>2007-09-25 07:20:59 -0700</date>
            <delta_ts>2007-09-25 07:20:59 -0700</delta_ts>
            <desc>Test case from URL</desc>
            <filename>fred.html</filename>
            <type>text/html</type>
            <size>1080</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSLzIwMDAvUkVDLXhodG1sMS0yMDAwMDEyNi9EVEQv
eGh0b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ZXBsYWNlX2EoIHRoaXMgKSA7IHJldHVybiBmYWxzZSA7IiA+Y2xpY2sgMTwvYT48YnIg
Lz4KCQk8YSBocmVmPSIiIGlkPSJhLTIiIG5hbWU9Im15X2EiIG9uY2xpY2s9InJlcGxhY2VfYSgg
dGhpcyApIDsgcmV0dXJuIGZhbHNlIDsiID5jbGljayAyPC9hPgoJPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16541</attachid>
            <date>2007-10-05 04:20:35 -0700</date>
            <delta_ts>2007-10-05 04:20:35 -0700</delta_ts>
            <desc>further reduced test case</desc>
            <filename>fred.html</filename>
            <type>text/html</type>
            <size>576</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogIDx0aXRsZT5CdWcgb24gcmVtb3ZlQ2hpbGQgPyBpbnNlckJlZm9yZSA/
IGdldEVsZW1lbnRzQnlOYW1lID88L3RpdGxlPgo8L2hlYWQ+Cjxib2R5PgogIDxkaXYgaHJlZj0i
IiBpZD0iYS0xIiBuYW1lPSJteV9hIj5kaXYgMTwvZGl2PgogIDxkaXYgaHJlZj0iIiBpZD0iYS0y
IiBuYW1lPSJteV9hIj5kaXYgMjwvZGl2PgogIDxzY3JpcHQ+CiAgICB0cnkgewogICAgICB2YXIg
ZGl2cyA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlOYW1lKCJteV9hIik7CiAgICAgIGRpdnNbMF0u
cGFyZW50Tm9kZS5yZW1vdmVDaGlsZChkaXZzWzBdKTsKICAgICAgZG9jdW1lbnQud3JpdGUoIlNo
b3VsZCBiZSAxOiAiICsgZGl2cy5sZW5ndGggKyAiPGJyPiIpOwogICAgICBkaXZzWzBdLnBhcmVu
dE5vZGUucmVtb3ZlQ2hpbGQoZGl2c1swXSk7CiAgICAgIGRvY3VtZW50LndyaXRlKCJTaG91bGQg
YmUgMDogIiArIGRpdnMubGVuZ3RoICsgIjxicj4iKTsKICAgIH0gY2F0Y2goZXgpIHsKICAgICAg
ZG9jdW1lbnQud3JpdGUoZXggKyAiPGJyPiIpOwogICAgfQogIDwvc2NyaXB0Pgo8L2JvZHk+Cjwv
aHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>16584</attachid>
            <date>2007-10-07 20:07:05 -0700</date>
            <delta_ts>2007-10-13 18:17:29 -0700</delta_ts>
            <desc>a fix</desc>
            <filename>fix.patch</filename>
            <type>text/plain</type>
            <size>2723</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAyNjEwMykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDctMTAtMDcgIEVyaWMgU2VpZGVsICA8ZXJpY0B3ZWJraXQub3Jn
PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFJFR1JF
U1NJT046IEphdmFzY3JpcHQgYnVnIGluIGdldEVsZW1lbnRzQnlOYW1lCisgICAgICAgIGh0dHA6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE1Mjc0CisKKyAgICAgICAgVGVzdDog
ZmFzdC9kb20vZ2V0ZWxlbWVudGJ5bmFtZS1pbnZhbGlkYXRpb24uaHRtbAorCisgICAgICAgICog
ZG9tL05hbWVOb2RlTGlzdC5oOiByZW1vdmUgZW1wdHkgcm9vdE5vZGVDaGlsZHJlbkNoYW5nZWQg
b3ZlcnJpZGUKKwogMjAwNy0xMC0wNyAgTmlrb2xhcy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Y3VtZW50LndyaXRlKCJTaG91bGQgYmUgMTogIiArIGRpdnMubGVuZ3RoICsgIjxi
cj4iKTsKKyAgICAgIGRpdnNbMF0ucGFyZW50Tm9kZS5yZW1vdmVDaGlsZChkaXZzWzBdKTsKKyAg
ICAgIGRvY3VtZW50LndyaXRlKCJTaG91bGQgYmUgMDogIiArIGRpdnMubGVuZ3RoICsgIjxicj4i
KTsKKyAgICAgIAorICAgICAgdmFyIGRpdnMgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFt
ZSgicCIpOworICAgICAgZGl2c1swXS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKGRpdnNbMF0pOwor
ICAgICAgZG9jdW1lbnQud3JpdGUoIlNob3VsZCBiZSAxOiAiICsgZGl2cy5sZW5ndGggKyAiPGJy
PiIpOworICAgICAgZGl2c1swXS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKGRpdnNbMF0pOworICAg
ICAgZG9jdW1lbnQud3JpdGUoIlNob3VsZCBiZSAwOiAiICsgZGl2cy5sZW5ndGggKyAiPGJyPiIp
OworICAgIH0gY2F0Y2goZXgpIHsKKyAgICAgIGRvY3VtZW50LndyaXRlKGV4ICsgIjxicj5GQUlM
RUQiKTsKKyAgICB9CisgIDwvc2NyaXB0PgorPC9ib2R5PgorPC9odG1sPgo=
</data>
<flag name="review"
          id="6996"
          type_id="1"
          status="+"
          setter="mjs"
    />
          </attachment>
      

    </bug>

</bugzilla>