Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Set / prototype / size / name.js
blobbaf6fa968a72a250baa4f424c8f21a0bebc3ac37
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-get-set.prototype.size
5 description: >
6     get Set.prototype.size
8     17 ECMAScript Standard Built-in Objects
10     Functions that are specified as get or set accessor functions of built-in
11     properties have "get " or "set " prepended to the property name string.
13 includes: [propertyHelper.js]
14 ---*/
16 var descriptor = Object.getOwnPropertyDescriptor(Set.prototype, "size");
19 verifyProperty(descriptor.get, "name", {
20   value: "get size",
21   writable: false,
22   enumerable: false,
23   configurable: true
24 });
26 reportCompare(0, 0);