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

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

Issue 1146923004: Throw illegal exception when formatting with invalid template index. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment Created 5 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/messages.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-492526.js
diff --git a/test/mjsunit/regress/regress-450895.js b/test/mjsunit/regress/regress-crbug-492526.js
similarity index 74%
copy from test/mjsunit/regress/regress-450895.js
copy to test/mjsunit/regress/regress-crbug-492526.js
index 48aa00d956c6f84fdcfe2e02cfc286c0f07180ba..e8ea298f8ba2a4f15d1e82a487d142043ece9efe 100644
--- a/test/mjsunit/regress/regress-450895.js
+++ b/test/mjsunit/regress/regress-crbug-492526.js
@@ -4,6 +4,4 @@
// Flags: --allow-natives-syntax
-var v = new Array();
-Object.freeze(v);
-v = v.concat(0.5);
+assertThrows(function() { %FormatMessageString(-1, "", "", ""); });
« no previous file with comments | « src/messages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698