Index: test/webkit/fast/js/stack-overflow-arrity-catch.js |
diff --git a/test/webkit/fast/js/stack-overflow-arrity-catch.js b/test/webkit/fast/js/stack-overflow-arrity-catch.js |
index f36512adbb835d50431a84e4b7cff97b38953ff0..4cbcbbfb6e2592158c2c36ef7de3dc2bac110d13 100644 |
--- a/test/webkit/fast/js/stack-overflow-arrity-catch.js |
+++ b/test/webkit/fast/js/stack-overflow-arrity-catch.js |
@@ -42,8 +42,6 @@ function test1() |
try { |
var dummy = new RegExp('a|b|c'); |
} catch(err) { |
- // (1) It is dendent on the stack size if we arrive here, in (2) or |
- // both. |
gotWrongCatch1 = true; |
} |
@@ -60,8 +58,6 @@ function test2() |
try { |
var dummy = new Date(); |
} catch(err) { |
- // (2) It is dendent on the stack size if we arrive here, in (1) or |
- // both. |
gotWrongCatch2 = true; |
} |
@@ -81,3 +77,5 @@ function test2() |
test1(); |
shouldBeTrue("gotRightCatch"); |
+shouldBeFalse("gotWrongCatch1"); |
+shouldBeFalse("gotWrongCatch2"); |