Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / RegExp / prototype / multiline / name.js
blob3fd0e3bce74b948e18ee4e413036aee9a3a5d986
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 es6id: 21.2.5.7
5 description: >
6   RegExp.prototype.multiline name
7 info: |
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.
12 includes: [propertyHelper.js]
13 ---*/
15 var descriptor = Object.getOwnPropertyDescriptor(RegExp.prototype, 'multiline');
17 verifyProperty(descriptor.get, "name", {
18   value: "get multiline",
19   writable: false,
20   enumerable: false,
21   configurable: true
22 });
24 reportCompare(0, 0);