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

Unified Diff: test/mjsunit/regress/regress-crbug-644631.js

Issue 2408403002: Change TF regression test to not trigger tons of allocation (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-644631.js
diff --git a/test/mjsunit/regress/regress-crbug-644631.js b/test/mjsunit/regress/regress-crbug-644631.js
index 5e649a49463791f960bc635f207c3ab69d3b2169..bf845c7aeed7790b296f38daee8e3206064ebe12 100644
--- a/test/mjsunit/regress/regress-crbug-644631.js
+++ b/test/mjsunit/regress/regress-crbug-644631.js
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --turbo --always-opt
+// Flags: --allow-natives-syntax --turbo --always-opt
function f() {
- new Int8Array(new ArrayBuffer(2147483648));
+ var obj = Object.freeze({});
+ %_CreateDataProperty(obj, "foo", "bar");
}
// Should not crash
-assertThrows(f, RangeError);
+assertThrows(f, TypeError);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698