Index: test/webkit/fast/regex/assertion-expected.txt |
diff --git a/test/webkit/arguments-bad-index-expected.txt b/test/webkit/fast/regex/assertion-expected.txt |
similarity index 51% |
copy from test/webkit/arguments-bad-index-expected.txt |
copy to test/webkit/fast/regex/assertion-expected.txt |
index 929537823ba09f0a0dc53891aea0bf23fe9014e8..1bc1f416681ad71bc5905552750080ff8b787a28 100644 |
--- a/test/webkit/arguments-bad-index-expected.txt |
+++ b/test/webkit/fast/regex/assertion-expected.txt |
@@ -21,15 +21,48 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-This test checks whether arguments crashes when passed a bad index. |
+This page tests handling of parenthetical assertions. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS indexArguments(1, "a") is "a" |
-PASS indexArguments("1 ", "a") is undefined |
-PASS indexArguments(0xDEADBEEF) is undefined |
-PASS indexArguments(0xFFFFFFFF) is undefined |
+PASS regex1.exec('xx') is ['xx','x'] |
+PASS regex2.exec('baaabaac') is ['baaabaac','ba',undefined,'abaac'] |
+PASS regex3.exec('aaab') is ['aab','a','aab'] |
+PASS regex4.exec('aaab') is ['aab','a','aab'] |
+PASS regex5.exec('P11') is ['P11','1','1'] |
+PASS regex6.exec('ababbbcbc') is ['ababb','bb','b'] |
+PASS regex7.exec('xx') is ['xx','x'] |
+PASS regex8.exec('xx') is ['xx','x','x'] |
+PASS regex9.exec('xy') is null |
+PASS regex10.exec('xy') is null |
+PASS regex11.exec('xy') is null |
+PASS regex12.exec('x') is null |
+PASS regex12.exec('xx') is ['xx','x'] |
+PASS regex12.exec('xxy') is ['xx','x'] |
+PASS regex13.exec('xzzzx') is ['xzzzx','x'] |
+PASS regex13.exec('xzzzxy') is ['xzzzx','x'] |
+PASS regex14.exec('aabc') is ['aabc','a','bc'] |
+PASS regex14.exec('aabcx') is ['aabc','a','bc'] |
+PASS regex15.exec('aabc') is ['aabc','a','bc'] |
+PASS regex15.exec('aabcx') is ['aabc','a','bc'] |
+PASS regex16.exec('ab') is null |
+PASS regex16.exec('abc') is ['abc','bc'] |
+PASS regex17.exec('ab') is ['a','ab'] |
+PASS regex17.exec('abc') is ['a','ab'] |
+PASS regex18.exec('x') is ['x',''] |
+PASS regex18.exec('xx') is ['x','xx'] |
+PASS regex18.exec('xxx') is ['x','xx'] |
+PASS regex19.exec('x') is ['x','',undefined] |
+PASS regex19.exec('xx') is ['x','xx','xx'] |
+PASS regex19.exec('xxx') is ['x','xx','xx'] |
+PASS regex20.exec('x') is null |
+PASS regex20.exec('xx') is ['x','xx'] |
+PASS regex20.exec('xxx') is ['x','xx'] |
+PASS regex21.exec('aab') is ['aab'] |
+PASS regex22.exec('55up') is null |
+PASS regex23.exec('ax') is null |
+PASS regex24.exec('x') is null |
PASS successfullyParsed is true |
TEST COMPLETE |