Index: test/webkit/fast/js/regexp-range-out-of-order.js |
diff --git a/test/webkit/const-without-initializer.js b/test/webkit/fast/js/regexp-range-out-of-order.js |
similarity index 87% |
copy from test/webkit/const-without-initializer.js |
copy to test/webkit/fast/js/regexp-range-out-of-order.js |
index 9eb036522a05920b2c1441b387002f91811d1752..f1ca53be7442e0d6f2447c184811e96f9f94ae0f 100644 |
--- a/test/webkit/const-without-initializer.js |
+++ b/test/webkit/fast/js/regexp-range-out-of-order.js |
@@ -22,13 +22,9 @@ |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
description( |
-'Tests that declaring a const variable without initializing has the correct behavior and does not crash' |
-); |
- |
-const f; |
-shouldBe('f', 'undefined'); |
+'Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=16129">bug 16129</a>: REGRESSION (r27761-r27811): malloc error while visiting http://mysit.es (crashes release build).' |
-f = 10; |
+); |
-shouldBe('f', 'undefined'); |
+shouldThrow('/^[\s{-.\[\]\(\)]$/'); |