Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1828)

Unified Diff: test/webkit/fast/js/stack-overflow-arrity-catch.js

Issue 20691002: Rebaseline webkit test with correct assumptions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « no previous file | test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698