Backed out changeset 1b14354719c0 (bug 1895254) for causing bustages on NavigationTra...
[gecko.git] / js / src / tests / test262 / built-ins / RegExp / prototype / Symbol.search / name.js
blob4f3861d6504809ecf0d7f48fb0dccafdda77d7b9
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.9
5 description: RegExp.prototype[Symbol.search] `name` property
6 info: |
7     The value of the name property of this function is "[Symbol.search]".
9     ES6 Section 17:
11     [...]
13     Unless otherwise specified, the name property of a built-in Function
14     object, if it exists, has the attributes { [[Writable]]: false,
15     [[Enumerable]]: false, [[Configurable]]: true }.
16 features: [Symbol.search]
17 includes: [propertyHelper.js]
18 ---*/
20 verifyProperty(RegExp.prototype[Symbol.search], "name", {
21   value: "[Symbol.search]",
22   writable: false,
23   enumerable: false,
24   configurable: true
25 });
27 reportCompare(0, 0);