Index: test/mjsunit/harmony/typedarrays.js |
diff --git a/test/mjsunit/harmony/typedarrays.js b/test/mjsunit/harmony/typedarrays.js |
index a4d6e7927a2b257dc7fcec23757a4e2ac5c6d9db..0cdb7ed396571366272d33ece0ab5d2ed57312ab 100644 |
--- a/test/mjsunit/harmony/typedarrays.js |
+++ b/test/mjsunit/harmony/typedarrays.js |
@@ -530,7 +530,7 @@ function TestTypedArraysWithIllegalIndices() { |
* assertEquals(undefined, a[-Infinity]); |
*/ |
a[1.5] = 10; |
- assertEquals(undefined, a[1.5]); |
+ assertEquals(10, a[1.5]); |
var nan = Math.sqrt(-1); |
a[nan] = 5; |
assertEquals(5, a[nan]); |
@@ -579,7 +579,7 @@ function TestTypedArraysWithIllegalIndicesStrict() { |
* assertEquals(undefined, a[-Infinity]); |
*/ |
a[1.5] = 10; |
- assertEquals(undefined, a[1.5]); |
+ assertEquals(10, a[1.5]); |
var nan = Math.sqrt(-1); |
a[nan] = 5; |
assertEquals(5, a[nan]); |