Index: test/mjsunit/es6/typedarray-of.js |
diff --git a/test/mjsunit/es6/typedarray-of.js b/test/mjsunit/es6/typedarray-of.js |
index cf57615d121283d4bea43c9fd6b87cc2d53c820b..2ed550ca42e9f25b000a71245088d4fd3a1423fa 100644 |
--- a/test/mjsunit/es6/typedarray-of.js |
+++ b/test/mjsunit/es6/typedarray-of.js |
@@ -109,7 +109,7 @@ function TestTypedArrayOf(constructor) { |
assertEquals("pass", status); |
// Check superficial features of %TypedArray%.of. |
- var desc = Object.getOwnPropertyDescriptor(constructor, "of"); |
+ var desc = Object.getOwnPropertyDescriptor(constructor.__proto__, "of"); |
assertEquals(desc.configurable, false); |
assertEquals(desc.enumerable, false); |