Index: test/mjsunit/harmony/sharedarraybuffer.js |
diff --git a/test/mjsunit/harmony/sharedarraybuffer.js b/test/mjsunit/harmony/sharedarraybuffer.js |
index a7917e0020c9b2002208cbffac742d81fa5bf187..bac42681ab32fd1f521b976e65c96fbb79b2cd2a 100644 |
--- a/test/mjsunit/harmony/sharedarraybuffer.js |
+++ b/test/mjsunit/harmony/sharedarraybuffer.js |
@@ -40,7 +40,7 @@ |
TestByteLength(256, 256); |
TestByteLength(2.567, 2); |
- TestByteLength("0", 0); |
+ TestByteLength("abc", 0); |
TestByteLength(0, 0); |
@@ -53,7 +53,7 @@ |
}, RangeError); |
*/ |
- var sab = new SharedArrayBuffer(0); |
+ var sab = new SharedArrayBuffer(); |
assertSame(0, sab.byteLength); |
assertEquals("[object SharedArrayBuffer]", |
Object.prototype.toString.call(sab)); |
@@ -548,7 +548,7 @@ |
if (obj) |
assertArrayEquals([], props(obj)); |
} |
-TestEnumerable(ArrayBuffer, new SharedArrayBuffer(0)); |
+TestEnumerable(ArrayBuffer, new SharedArrayBuffer()); |
for(i = 0; i < typedArrayConstructors.length; i++) { |
TestEnumerable(typedArrayConstructors[i]); |
} |