Index: test/mjsunit/error-constructors.js |
diff --git a/test/mjsunit/error-constructors.js b/test/mjsunit/error-constructors.js |
index 1ada39de55f43c1958583f1bd15e583110bb4dcc..0f3d74c960cfb04ad84be7919e5dca9eeab8338e 100644 |
--- a/test/mjsunit/error-constructors.js |
+++ b/test/mjsunit/error-constructors.js |
@@ -128,7 +128,7 @@ for (var i in errors) { |
Error.prototype.toString = Object.prototype.toString; |
-assertEquals("[object Error]", Error.prototype.toString()); |
+assertEquals("[object Object]", Error.prototype.toString()); |
assertEquals(Object.prototype, Error.prototype.__proto__); |
var e = new Error("foo"); |
assertEquals("[object Error]", e.toString()); |