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

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

Issue 1157563005: Do not eagerly convert exception to string when creating a message object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: test case 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 | « test/cctest/test-api.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-490680.js
diff --git a/test/mjsunit/regress/regress-444805.js b/test/mjsunit/regress/regress-crbug-490680.js
similarity index 64%
copy from test/mjsunit/regress/regress-444805.js
copy to test/mjsunit/regress/regress-crbug-490680.js
index 5a533acd5ebf2fc196373e2b0e2c4b9df0a29ab6..e0b5572c669b971f5851b99deb3be82d01c1e1d6 100644
--- a/test/mjsunit/regress/regress-444805.js
+++ b/test/mjsunit/regress/regress-crbug-490680.js
@@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+var sentinel = null;
+
try {
- load("test/mjsunit/regress/regress-444805.js-script");
+ throw { toString: function() { sentinel = "observed"; } };
} catch (e) {
}
Michael Starzinger 2015/05/22 16:18:39 Can we also add the following construct to the tes
+
+assertNull(sentinel);
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698