summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/object-define-properties.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-11-02 16:58:08 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2011-11-02 16:58:35 +0100
commitedea4122b1c725a9f7873c02fe04100995472ddc (patch)
tree3334347495150cfd3a68909489689c112457ae07 /deps/v8/test/mjsunit/object-define-properties.js
parentcc9223406837e7610b5f36b16b6a0e51861370cb (diff)
downloadnode-new-edea4122b1c725a9f7873c02fe04100995472ddc.tar.gz
Revert "Upgrade V8 to 3.7.1"
This reverts commit 92f5a5d3caf01f382f90c235e9057590a5e76870. V8 3.7.1 in debug mode on ia32 has a curious race-like bug where an fs.Stats object is not fully formed until some time after it's created. This is easy to demonstrate by running `make test-debug`. V8 3.7.0 does not exhibit this behaviour so back we go. Fixes #1981.
Diffstat (limited to 'deps/v8/test/mjsunit/object-define-properties.js')
-rw-r--r--deps/v8/test/mjsunit/object-define-properties.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/deps/v8/test/mjsunit/object-define-properties.js b/deps/v8/test/mjsunit/object-define-properties.js
index 6d5032e044..128df694d3 100644
--- a/deps/v8/test/mjsunit/object-define-properties.js
+++ b/deps/v8/test/mjsunit/object-define-properties.js
@@ -54,19 +54,3 @@ var x = Object.defineProperties(obj, desc);
assertEquals(x.foo, 10);
assertEquals(x.bar, 42);
-
-
-// Make sure that all property descriptors are calculated before any
-// modifications are done.
-
-var object = {};
-
-assertThrows(function() {
- Object.defineProperties(object, {
- foo: { value: 1 },
- bar: { value: 2, get: function() { return 3; } }
- });
- }, TypeError);
-
-assertEquals(undefined, object.foo);
-assertEquals(undefined, object.bar);