Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / matchAll / name.js
blob80449460761542badf6aea20b723bd6c5df78cf2
1 // Copyright (C) 2018 Jordan Harband. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: pending
5 description: String.prototype.matchAll `name` property
6 info: |
7   17 ECMAScript Standard Built-in Objects:
9     [...]
11     Every built-in function object, including constructors, that is not
12     identified as an anonymous function has a name property whose value
13     is a String.
15     [...]
17     Unless otherwise specified, the name property of a built-in function
18     object, if it exists, has the attributes { [[Writable]]: false,
19     [[Enumerable]]: false, [[Configurable]]: true }.
20 includes: [propertyHelper.js]
21 features: [String.prototype.matchAll]
22 ---*/
24 verifyProperty(String.prototype.matchAll, "name", {
25   value: "matchAll",
26   writable: false,
27   enumerable: false,
28   configurable: true
29 });
31 reportCompare(0, 0);