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