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

Unified Diff: test/mjsunit/regress/regress-3294.js

Issue 258933007: Error stack getter should not overwrite itself with a data property. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
« src/messages.js ('K') | « src/messages.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-3294.js
diff --git a/test/mjsunit/regress/regress-358090.js b/test/mjsunit/regress/regress-3294.js
similarity index 62%
copy from test/mjsunit/regress/regress-358090.js
copy to test/mjsunit/regress/regress-3294.js
index d9c07e857dd531c5b32460ee71cdf2ec87da910c..400e6b688600cab8a1b9401bac2659d47e8b3833 100644
--- a/test/mjsunit/regress/regress-358090.js
+++ b/test/mjsunit/regress/regress-3294.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var x = Array(100000);
-y = Array.apply(Array, x);
-y.unshift(4);
-y.shift();
+var e = new Error('message');
+var keys = Object.keys(e);
+e.stack;
+assertEquals(keys, Object.keys(e));
« src/messages.js ('K') | « src/messages.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698