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

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

Issue 1403923002: Fix Error object value lookups. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « 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-542101.js
diff --git a/test/message/regress/regress-3995.js b/test/mjsunit/regress/regress-crbug-542101.js
similarity index 63%
copy from test/message/regress/regress-3995.js
copy to test/mjsunit/regress/regress-crbug-542101.js
index ba84bc096527cc242b9ad43983b42eec0462c43c..1a4c2b37ceb153d78de053b0162c70744489f93f 100644
--- a/test/message/regress/regress-3995.js
+++ b/test/mjsunit/regress/regress-crbug-542101.js
@@ -3,5 +3,8 @@
// found in the LICENSE file.
(function() {
- throw new Error("boom");
+ Error.prototype.toString.call({
+ get name() { return { __proto__: this }; },
+ get message() { }
+ });
})();
« 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