[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: tests/khtmltests/regression/tests/js
From: Harri Porten <porten () kde ! org>
Date: 2007-03-21 7:03:17
Message-ID: 1174460597.947797.28777.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 644876 by porten:
found crash when using posix regex
M +5 -0 RegExp.js
--- trunk/tests/khtmltests/regression/tests/js/RegExp.js #644875:644876
@@ -1,3 +1,8 @@
+// invalid regexp
+shouldThrow("/(/");
+// should not crash
+shouldThrow("''.match('(')");
+
shouldBe("(new RegExp()).source", "''");
shouldBe("Boolean(new RegExp())", "true");
shouldBeTrue("isNaN(Number(new RegExp()))");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic