Index: test/mjsunit/harmony/reflect.js |
diff --git a/test/mjsunit/harmony/reflect.js b/test/mjsunit/harmony/reflect.js |
index 613e898286c8adafa08fa5c9b8ef376bf8d51f1c..84709ba0cf8ed506e97a02376c235d2ff0954790 100644 |
--- a/test/mjsunit/harmony/reflect.js |
+++ b/test/mjsunit/harmony/reflect.js |
@@ -231,6 +231,26 @@ function prepare(tgt) { |
//////////////////////////////////////////////////////////////////////////////// |
+// Reflect.getPrototypeOf |
+ |
+ |
+(function testReflectGetPrototypeOfArity() { |
+ assertEquals(1, Reflect.getPrototypeOf.length); |
+})(); |
+ |
+ |
+(function testReflectDeletePropertyOnNonObject() { |
+ assertThrows(function() { Reflect.getPrototypeOf(); }, TypeError); |
+ assertThrows(function() { Reflect.getPrototypeOf(42); }, TypeError); |
+ assertThrows(function() { Reflect.getPrototypeOf(null); }, TypeError); |
+})(); |
+ |
+ |
+// See reflect-get-prototype-of.js for further tests. |
+ |
+ |
+ |
+//////////////////////////////////////////////////////////////////////////////// |
// Reflect.isExtensible |