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 4cbcbbfb6e2592158c2c36ef7de3dc2bac110d13..f36512adbb835d50431a84e4b7cff97b38953ff0 100644 |
--- a/test/webkit/fast/js/stack-overflow-arrity-catch.js |
+++ b/test/webkit/fast/js/stack-overflow-arrity-catch.js |
@@ -42,6 +42,8 @@ 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; |
} |
@@ -58,6 +60,8 @@ 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; |
} |
@@ -77,5 +81,3 @@ function test2() |
test1(); |
shouldBeTrue("gotRightCatch"); |
-shouldBeFalse("gotWrongCatch1"); |
-shouldBeFalse("gotWrongCatch2"); |