Title: [105448] trunk/LayoutTests
Revision
105448
Author
[email protected]
Date
2012-01-19 14:36:03 -0800 (Thu, 19 Jan 2012)

Log Message

Add a V8-specific baseline for fast/regex/syntax-errors.html.

* platform/chromium/fast/regex/syntax-errors-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (105447 => 105448)


--- trunk/LayoutTests/ChangeLog	2012-01-19 22:07:32 UTC (rev 105447)
+++ trunk/LayoutTests/ChangeLog	2012-01-19 22:36:03 UTC (rev 105448)
@@ -1,5 +1,11 @@
 2012-01-19  Adam Barth  <[email protected]>
 
+        Add a V8-specific baseline for fast/regex/syntax-errors.html.
+
+        * platform/chromium/fast/regex/syntax-errors-expected.txt: Added.
+
+2012-01-19  Adam Barth  <[email protected]>
+
         This test can also timeout.
 
         * platform/chromium/test_expectations.txt:

Added: trunk/LayoutTests/platform/chromium/fast/regex/syntax-errors-expected.txt (0 => 105448)


--- trunk/LayoutTests/platform/chromium/fast/regex/syntax-errors-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/regex/syntax-errors-expected.txt	2012-01-19 22:36:03 UTC (rev 105448)
@@ -0,0 +1,7 @@
+This test verifies that implicit creation of a regular _expression_ eagerly checks for syntax errors.
+
+If the test passes, you'll see pass messages below.
+
+PASS: "abc".search("[") should throw an exception and did: SyntaxError: Invalid regular _expression_: /[/: Unterminated character class.
+PASS: "abc".match("[") should throw an exception and did: SyntaxError: Invalid regular _expression_: /[/: Unterminated character class.
+
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to