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

Unified Diff: test/mjsunit/stack-traces-overflow.js

Issue 2159223004: Revert of Move Error methods to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/regress/regress-crbug-599067.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/stack-traces-overflow.js
diff --git a/test/mjsunit/stack-traces-overflow.js b/test/mjsunit/stack-traces-overflow.js
index 706f8fcef914b2a59d866161401f400e96691e64..af81971af1ee902e1a8b3f0e31c5bc1495ef23c4 100644
--- a/test/mjsunit/stack-traces-overflow.js
+++ b/test/mjsunit/stack-traces-overflow.js
@@ -75,9 +75,9 @@
function testErrorPrototype(prototype) {
var object = {};
object.__proto__ = prototype;
- object.stack = "123"; // Overwriting stack property succeeds.
- assertTrue(prototype.stack != object.stack);
- assertEquals("123", object.stack);
+ object.stack = "123"; // Overwriting stack property fails.
+ assertEquals(prototype.stack, object.stack);
+ assertTrue("123" != prototype.stack);
}
try {
« no previous file with comments | « test/mjsunit/regress/regress-crbug-599067.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698