Index: test/mjsunit/es6/function-name.js |
diff --git a/test/mjsunit/es6/function-name.js b/test/mjsunit/es6/function-name.js |
index 0fcab441ed6ea6bc173c37159a02bc6226d0f12c..3b0a6fcacbad78efd3069bf41b966c74bc46ba79 100644 |
--- a/test/mjsunit/es6/function-name.js |
+++ b/test/mjsunit/es6/function-name.js |
@@ -73,6 +73,8 @@ |
static 43() { } |
get 44() { } |
set 44(val) { } |
+ static get constructor() { } |
+ static set constructor(val) { } |
}; |
assertEquals('a', C.prototype.a.name); |
@@ -85,6 +87,9 @@ |
var descriptor = Object.getOwnPropertyDescriptor(C.prototype, '44'); |
assertEquals('get 44', descriptor.get.name); |
assertEquals('set 44', descriptor.set.name); |
+ var descriptor = Object.getOwnPropertyDescriptor(C, 'constructor'); |
+ assertEquals('get constructor', descriptor.get.name); |
+ assertEquals('set constructor', descriptor.set.name); |
})(); |
(function testComputedProperties() { |