summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/error-constructors.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-07-05 14:40:13 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-07-05 14:51:29 -0700
commit149562555c9bf56457dee9a1ad70c53ed670a776 (patch)
treef6217cf3c54ddbee03f37247a3c7c75203f868fd /deps/v8/test/mjsunit/error-constructors.js
parentf08720606757577d95bd09b48697c7decbf17f00 (diff)
downloadnode-new-149562555c9bf56457dee9a1ad70c53ed670a776.tar.gz
Downgrade V8 to 3.1.8.25
There are serious performance regressions both in V8 and our own legacy networking stack. Until we correct our own problems we are going back to the old V8.
Diffstat (limited to 'deps/v8/test/mjsunit/error-constructors.js')
-rw-r--r--deps/v8/test/mjsunit/error-constructors.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/deps/v8/test/mjsunit/error-constructors.js b/deps/v8/test/mjsunit/error-constructors.js
index 966a1629d7..8f463fc27c 100644
--- a/deps/v8/test/mjsunit/error-constructors.js
+++ b/deps/v8/test/mjsunit/error-constructors.js
@@ -59,24 +59,3 @@ assertEquals("ReferenceError", ReferenceError.prototype.name);
ReferenceError.prototype.name = "not a reference error";
assertEquals("ReferenceError", ReferenceError.prototype.name);
-// Check that message and name are not enumerable on Error objects.
-var desc = Object.getOwnPropertyDescriptor(Error.prototype, 'name');
-assertFalse(desc['enumerable']);
-desc = Object.getOwnPropertyDescriptor(Error.prototype, 'message');
-assertFalse(desc['enumerable']);
-
-var e = new Error("foobar");
-desc = Object.getOwnPropertyDescriptor(e, 'message');
-assertFalse(desc['enumerable']);
-desc = Object.getOwnPropertyDescriptor(e, 'arguments');
-assertFalse(desc['enumerable']);
-desc = Object.getOwnPropertyDescriptor(e, 'type');
-assertFalse(desc['enumerable']);
-desc = Object.getOwnPropertyDescriptor(e, 'stack');
-assertFalse(desc['enumerable']);
-
-// name is not tested above, but in addition we should have no enumerable
-// properties, so we simply assert that.
-for (var v in e) {
- assertUnreachable();
-}