Index: test/mjsunit/harmony/classes.js |
diff --git a/test/mjsunit/harmony/classes.js b/test/mjsunit/harmony/classes.js |
index f57a1bad1c6e21e51f7b4343cd180595e9f4c860..a28cddf4dc41a24f883b95a29c90d760b2b7e522 100644 |
--- a/test/mjsunit/harmony/classes.js |
+++ b/test/mjsunit/harmony/classes.js |
@@ -198,6 +198,7 @@ function assertGetterDescriptor(object, name) { |
assertTrue(descr.configurable); |
assertFalse(descr.enumerable); |
assertEquals('function', typeof descr.get); |
+ assertFalse('prototype' in descr.get); |
assertEquals(undefined, descr.set); |
} |
@@ -208,6 +209,7 @@ function assertSetterDescriptor(object, name) { |
assertFalse(descr.enumerable); |
assertEquals(undefined, descr.get); |
assertEquals('function', typeof descr.set); |
+ assertFalse('prototype' in descr.set); |
} |
@@ -217,6 +219,8 @@ function assertAccessorDescriptor(object, name) { |
assertFalse(descr.enumerable); |
assertEquals('function', typeof descr.get); |
assertEquals('function', typeof descr.set); |
+ assertFalse('prototype' in descr.get); |
+ assertFalse('prototype' in descr.set); |
} |