| Index: test/webkit/fast/regex/toString-expected.txt
|
| diff --git a/test/webkit/fast/regex/toString-expected.txt b/test/webkit/fast/regex/toString-expected.txt
|
| index a6eefd9bcda59958bd533c824ea73c774e8fb5d8..1024072df5d19ea6089a33910218d33c0ea848a9 100644
|
| --- a/test/webkit/fast/regex/toString-expected.txt
|
| +++ b/test/webkit/fast/regex/toString-expected.txt
|
| @@ -26,23 +26,23 @@ This page tests toString conversion of RegExp objects, particularly wrt to '/' c
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -FAIL RegExp('/').source should be \/. Was /.
|
| +PASS RegExp('/').source is "\\/"
|
| PASS RegExp('').source is "(?:)"
|
| PASS RegExp.prototype.source is "(?:)"
|
| -FAIL RegExp('/').toString() should be /\//. Was ///.
|
| +PASS RegExp('/').toString() is "/\\//"
|
| PASS RegExp('').toString() is "/(?:)/"
|
| PASS RegExp.prototype.toString() is "/(?:)/"
|
| -FAIL testForwardSlash("^/$", "/"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("^/$", "/"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("^\/$", "/"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| +PASS testForwardSlash("^/$", "/"); is true
|
| +PASS testForwardSlash("^/$", "/"); is true
|
| +PASS testForwardSlash("^\/$", "/"); is true
|
| PASS testForwardSlash("^\\/$", "\/"); is true
|
| PASS testForwardSlash("^\\\/$", "\/"); is true
|
| FAIL testForwardSlash("^\\\\/$", "\\/"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| FAIL testForwardSlash("^\\\\\/$", "\\/"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("x/x/x", "x\/x\/x"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("x\/x/x", "x\/x\/x"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("x/x\/x", "x\/x\/x"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| -FAIL testForwardSlash("x\/x\/x", "x\/x\/x"); should be true. Threw exception SyntaxError: Unexpected end of input
|
| +PASS testForwardSlash("x/x/x", "x\/x\/x"); is true
|
| +PASS testForwardSlash("x\/x/x", "x\/x\/x"); is true
|
| +PASS testForwardSlash("x/x\/x", "x\/x\/x"); is true
|
| +PASS testForwardSlash("x\/x\/x", "x\/x\/x"); is true
|
| FAIL testLineTerminator("\n"); should be false. Was true.
|
| PASS testLineTerminator("\\n"); is false
|
| FAIL testLineTerminator("\r"); should be false. Was true.
|
| @@ -51,8 +51,8 @@ FAIL testLineTerminator("\u2028"); should be false. Was true.
|
| PASS testLineTerminator("\\u2028"); is false
|
| FAIL testLineTerminator("\u2029"); should be false. Was true.
|
| PASS testLineTerminator("\\u2029"); is false
|
| -PASS RegExp('[/]').source is '[/]'
|
| -FAIL RegExp('\\[/]').source should be \[\/]. Was \[/].
|
| +FAIL RegExp('[/]').source should be [/]. Was [\/].
|
| +PASS RegExp('\\[/]').source is '\\[\\/]'
|
| PASS var o = new RegExp(); o.toString() === '/'+o.source+'/' && eval(o.toString()+'.exec(String())') is [""]
|
| PASS successfullyParsed is true
|
|
|
|
|