Index: test/mjsunit/regress/regress-typedarray-length.js |
diff --git a/test/mjsunit/regress/regress-typedarray-length.js b/test/mjsunit/regress/regress-typedarray-length.js |
index ee853647355215485aaf1d1bbcba463ca83234a2..a0b99980c7026743fdfdcbdb2d4a6077932da1b6 100644 |
--- a/test/mjsunit/regress/regress-typedarray-length.js |
+++ b/test/mjsunit/regress/regress-typedarray-length.js |
@@ -109,12 +109,12 @@ assertEquals(undefined, get(a)); |
})(); |
// Ensure we cannot delete length, byteOffset, byteLength. |
-assertTrue(Int32Array.prototype.hasOwnProperty("length")); |
-assertTrue(Int32Array.prototype.hasOwnProperty("byteOffset")); |
-assertTrue(Int32Array.prototype.hasOwnProperty("byteLength")); |
-assertFalse(delete Int32Array.prototype.length); |
-assertFalse(delete Int32Array.prototype.byteOffset); |
-assertFalse(delete Int32Array.prototype.byteLength); |
+assertTrue(Int32Array.prototype.__proto__.hasOwnProperty("length")); |
+assertTrue(Int32Array.prototype.__proto__.hasOwnProperty("byteOffset")); |
+assertTrue(Int32Array.prototype.__proto__.hasOwnProperty("byteLength")); |
+assertFalse(delete Int32Array.prototype.__proto__.length); |
+assertFalse(delete Int32Array.prototype.__proto__.byteOffset); |
+assertFalse(delete Int32Array.prototype.__proto__.byteLength); |
a = new Int32Array(100); |