Title: [109289] trunk/Source/_javascript_Core
Revision
109289
Author
[email protected]
Date
2012-02-29 17:34:07 -0800 (Wed, 29 Feb 2012)

Log Message

Rubber stamped by Oliver Hunt.

* tests/mozilla/ecma_2/RegExp/constructor-001.js:
* tests/mozilla/ecma_2/RegExp/function-001.js:
* tests/mozilla/ecma_2/RegExp/properties-001.js:
    - Check in new test cases results.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (109288 => 109289)


--- trunk/Source/_javascript_Core/ChangeLog	2012-03-01 01:29:56 UTC (rev 109288)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-03-01 01:34:07 UTC (rev 109289)
@@ -1,3 +1,12 @@
+2012-02-29  Gavin Barraclough  <[email protected]>
+
+        Rubber stamped by Oliver Hunt.
+
+        * tests/mozilla/ecma_2/RegExp/constructor-001.js:
+        * tests/mozilla/ecma_2/RegExp/function-001.js:
+        * tests/mozilla/ecma_2/RegExp/properties-001.js:
+            - Check in new test cases results.
+
 2012-02-29  Mark Rowe  <[email protected]>
 
         Stop installing JSCLLIntOffsetsExtractor.

Modified: trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/constructor-001.js (109288 => 109289)


--- trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/constructor-001.js	2012-03-01 01:29:56 UTC (rev 109288)
+++ trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/constructor-001.js	2012-03-01 01:34:07 UTC (rev 109289)
@@ -40,7 +40,7 @@
 
     AddTestCase(
         "(new RegExp()).source",
-        "",
+        "(?:)",
         re.source );
 
     AddTestCase(

Modified: trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/function-001.js (109288 => 109289)


--- trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/function-001.js	2012-03-01 01:29:56 UTC (rev 109288)
+++ trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/function-001.js	2012-03-01 01:34:07 UTC (rev 109289)
@@ -40,7 +40,7 @@
 
     AddTestCase(
         "(new RegExp()).source",
-        "",
+        "(?:)",
         re.source );
 
     AddTestCase(

Modified: trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/properties-001.js (109288 => 109289)


--- trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/properties-001.js	2012-03-01 01:29:56 UTC (rev 109288)
+++ trunk/Source/_javascript_Core/tests/mozilla/ecma_2/RegExp/properties-001.js	2012-03-01 01:34:07 UTC (rev 109289)
@@ -52,10 +52,6 @@
 
     // properties
 
-    AddTestCase( re + ".source",
-                 s,
-                 re.source );
-
 /*
  * http://bugzilla.mozilla.org/show_bug.cgi?id=225550 changed
  * the behavior of toString() and toSource() on empty regexps.
@@ -63,6 +59,10 @@
  */
     var S = s? s : '(?:)';
 
+    AddTestCase( re + ".source",
+                 S,
+                 re.source );
+
     AddTestCase( re + ".toString()",
                  "/" + S +"/" + (g?"g":"") + (i?"i":"") +(m?"m":""),
                  re.toString() );
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to