[webkit-changes] cvs commit: LayoutTests/fast/js string-slice-abnormal-values-expected.txt string-slice-abnormal-values.html

Geoffrey ggaren at opensource.apple.com
Sat Nov 5 21:52:47 PST 2005


ggaren      05/11/05 21:52:47

  Modified:    .        ChangeLog
  Added:       fast/js  string-slice-abnormal-values-expected.txt
                        string-slice-abnormal-values.html
  Log:
          Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5409
          slice() testcase doesn't pass
  
          * fast/js/string-slice-abnormal-values.html: Added.
          * fast/js/string-slice-abnormal-values-expected.txt: Added.
  
  Revision  Changes    Path
  1.72      +9 -0      LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- ChangeLog	5 Nov 2005 06:49:53 -0000	1.71
  +++ ChangeLog	6 Nov 2005 05:52:46 -0000	1.72
  @@ -1,3 +1,11 @@
  +2005-11-05  Geoffrey Garen  <ggaren at apple.com>
  +        
  +        Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5409 
  +        slice() testcase doesn't pass
  +
  +        * fast/js/string-slice-abnormal-values.html: Added.
  +        * fast/js/string-slice-abnormal-values-expected.txt: Added.
  +
   2005-11-04  Darin Adler  <darin at apple.com>
   
           - added pixel results for a bunch of tests that didn't have them
  @@ -46,6 +54,7 @@
           * fast/overflow/scrollRevealButton-expected.txt: Added.
           * fast/overflow/scrollRevealButton.html: Added.
   
  +>>>>>>> 1.71
   2005-11-03  David Harrison  <harrison at apple.com>
   
           Other files that should have been included with my previous commit.
  
  
  
  1.1                  LayoutTests/fast/js/string-slice-abnormal-values-expected.txt
  
  Index: string-slice-abnormal-values-expected.txt
  ===================================================================
  This test checks for handling of abnormal values passed to String.slice
  
  If it passes, you will see two results of "abc"
  
  "abc".slice(0): abc
  
  "abc".slice(0, Infinity): abc
  
  
  
  1.1                  LayoutTests/fast/js/string-slice-abnormal-values.html
  
  Index: string-slice-abnormal-values.html
  ===================================================================
  <html>
  <body>
  <p>This test checks for handling of abnormal values passed to String.slice</p>
  <p>If it passes, you will see two results of "abc"</p>
  <hr>
  <script>
  if (window.layoutTestController)
      layoutTestController.dumpAsText();
  
  function test(s) {
      var result = eval(s);
      document.write("<p>" + s + ": " + result);
  }
  
  test('"abc".slice(0)');
  test('"abc".slice(0, Infinity)');
  </script>
  </body>
  </html>
  
  
  



More information about the webkit-changes mailing list