2011-07-02 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Jul 2011 20:57:40 +0000 (20:57 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Jul 2011 20:57:40 +0000 (20:57 +0000)
        SunSpider: string-validate-input.js uses an undeclared variable named 'name', which is a DOM API
        https://bugs.webkit.org/show_bug.cgi?id=60937

        Reviewed by Dan Bernstein.

        * tests/sunspider-1.0/string-validate-input.js:
        (doTest): Rename the variable to username

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90318 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/SunSpider/ChangeLog
PerformanceTests/SunSpider/tests/sunspider-1.0/string-validate-input.js

index 07cca77..fedbcd8 100644 (file)
@@ -1,5 +1,15 @@
 2011-07-02  Maciej Stachowiak  <mjs@apple.com>
 
+        SunSpider: string-validate-input.js uses an undeclared variable named 'name', which is a DOM API
+        https://bugs.webkit.org/show_bug.cgi?id=60937
+
+        Reviewed by Dan Bernstein.
+
+        * tests/sunspider-1.0/string-validate-input.js:
+        (doTest): Rename the variable to username
+
+2011-07-02  Maciej Stachowiak  <mjs@apple.com>
+
         Reviewed by Darin Adler.
 
         SunSpider: The main function of math-cordic is dead code
index 3455b32..a027174 100644 (file)
@@ -11,8 +11,8 @@ function doTest()
    // make up email address
    for (var k=0;k<4000;k++)
    {
-      name = makeName(6);
-      (k%2)?email=name+"@mac.com":email=name+"(at)mac.com";
+      username = makeName(6);
+      (k%2)?email=username+"@mac.com":email=username+"(at)mac.com";
 
       // validate the email address
       var pattern = /^[a-zA-Z0-9\-\._]+@[a-zA-Z0-9\-_]+(\.?[a-zA-Z0-9\-_]*)\.[a-zA-Z]{2,3}$/;