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

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

Issue 1281833002: Rewrite Error.prototype.toString in C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test case Created 5 years, 4 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 | « test/mjsunit/error-constructors.js ('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-513472.js
diff --git a/test/message/strict-formal-parameters.js b/test/mjsunit/regress/regress-crbug-513472.js
similarity index 73%
copy from test/message/strict-formal-parameters.js
copy to test/mjsunit/regress/regress-crbug-513472.js
index a6c75317b374e6a06d3497f3812f3f220db3e880..456fe0a11d9d246297437c0cde80982b5c4f2907 100644
--- a/test/message/strict-formal-parameters.js
+++ b/test/mjsunit/regress/regress-crbug-513472.js
@@ -3,4 +3,5 @@
// found in the LICENSE file.
"use strict";
-function foo(b, a, a, d) { return a }
+this.__proto__ = Error();
+assertThrows(function() { NaN = 1; });
« no previous file with comments | « test/mjsunit/error-constructors.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698