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

Unified Diff: test/webkit/function-apply-aliased.js

Issue 1253643003: [test] Speed up slow stack overflow test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Expectation Created 5 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/function-apply-aliased-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/function-apply-aliased.js
diff --git a/test/webkit/function-apply-aliased.js b/test/webkit/function-apply-aliased.js
index cda3b1bc60a1c1af51488ebf3788c05a32a961d0..a6a7ff453364bf580e12b747190801227d7df6be 100644
--- a/test/webkit/function-apply-aliased.js
+++ b/test/webkit/function-apply-aliased.js
@@ -20,6 +20,7 @@
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --stack-size=100
description(
"This tests that we can correctly call Function.prototype.apply"
@@ -73,7 +74,7 @@ function stackOverflowTest() {
stackOverflowTest();
} catch(e) {
// Blow the stack with a sparse array
- shouldThrow("myFunction.apply(null, new Array(5000000))");
+ shouldThrow("myFunction.apply(null, new Array(500000))");
// Blow the stack with a sparse array that is sufficiently large to cause int overflow
shouldThrow("myFunction.apply(null, new Array(1 << 30))");
}
« no previous file with comments | « no previous file | test/webkit/function-apply-aliased-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698