[webkit-changes] cvs commit: LayoutTests/fast/js array-special-accessors-should-ignore-items-expected.txt array-special-accessors-should-ignore-items.html

Eric eseidel at opensource.apple.com
Sat Nov 26 18:20:52 PST 2005


eseidel     05/11/26 18:20:52

  Modified:    .        ChangeLog
  Added:       fast/js 
                        array-special-accessors-should-ignore-items-expected.txt
                        array-special-accessors-should-ignore-items.html
  Log:
  Bug #: 5710
  Submitted by: mitz
  Reviewed by: ggaren
          Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5710
          item(i) should return the same result as [i]
  
          * fast/js/array-special-accessors-should-ignore-items-expected.txt: Added.
          * fast/js/array-special-accessors-should-ignore-items.html: Added.
  
  Revision  Changes    Path
  1.102     +10 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- ChangeLog	27 Nov 2005 01:46:51 -0000	1.101
  +++ ChangeLog	27 Nov 2005 02:20:51 -0000	1.102
  @@ -1,3 +1,13 @@
  +2005-11-26  Mitz Pettel  <opendarwin.org at mitzpettel.com>
  +
  +        Reviewed by ggaren.
  +
  +        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5710
  +        item(i) should return the same result as [i]
  +
  +        * fast/js/array-special-accessors-should-ignore-items-expected.txt: Added.
  +        * fast/js/array-special-accessors-should-ignore-items.html: Added.
  +
   2005-11-26  Alexey Proskuryakov  <ap at nypop.com>
   
           Reviewed by mjs.
  
  
  
  1.1                  LayoutTests/fast/js/array-special-accessors-should-ignore-items-expected.txt
  
  Index: array-special-accessors-should-ignore-items-expected.txt
  ===================================================================
  PASS
  
  
  
  1.1                  LayoutTests/fast/js/array-special-accessors-should-ignore-items.html
  
  Index: array-special-accessors-should-ignore-items.html
  ===================================================================
  <html>
  <head>
  <title>item(i) vs. [i]</title>
  </head>
  <body>
  <select id="select" style="display:none">
  	<option value="1">1</option>
  </select>
  <script type="text/javascript">
  if (window.layoutTestController)
  	window.layoutTestController.dumpAsText();
  var sel = document.getElementById("select");
  var bracketZero = sel[0];
  var itemZero = sel.item(0);
  if ( itemZero == bracketZero )
      document.write("PASS");
  else
      document.write("FAIL: item(0) is "+itemZero);
  </script>
  </body>
  </html>
  
  



More information about the webkit-changes mailing list