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

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

Issue 2010493002: Check CallSite arguments more rigorously (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add regression test case Created 4 years, 7 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 | « src/wasm/wasm-module.cc ('k') | 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-615774.js
diff --git a/test/mjsunit/regress/regress-crbug-613905.js b/test/mjsunit/regress/regress-crbug-615774.js
similarity index 81%
copy from test/mjsunit/regress/regress-crbug-613905.js
copy to test/mjsunit/regress/regress-crbug-615774.js
index 8bb38c9b9d1d0ed119ae29f04334541fcc336313..ea5e67513e65689dde0648cb03b42ce15e85dca0 100644
--- a/test/mjsunit/regress/regress-crbug-613905.js
+++ b/test/mjsunit/regress/regress-crbug-615774.js
@@ -6,6 +6,6 @@ Error.prepareStackTrace = (e,s) => s;
var CallSiteConstructor = Error().stack[0].constructor;
try {
- (new CallSiteConstructor(3, 6)).toString();
+ (new CallSiteConstructor(CallSiteConstructor, 6)).toString();
} catch (e) {
}
« no previous file with comments | « src/wasm/wasm-module.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698