mirror of https://github.com/tc39/test262.git
fixup
- move Object.prototype.__proto__ tests to annexB - remove RegExp.prototype.unicode name test
This commit is contained in:
parent
a1de508783
commit
22097eeaf4
|
@ -1,24 +0,0 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
es6id: 21.2.5.17
|
||||
description: >
|
||||
RegExp.prototype.unicode name
|
||||
info: >
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
||||
Functions that are specified as get or set accessor functions of built-in
|
||||
properties have "get " or "set " prepended to the property name string.
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
var descriptor = Object.getOwnPropertyDescriptor(RegExp.prototype, 'unicode');
|
||||
|
||||
assert.sameValue(
|
||||
descriptor.get.name,
|
||||
'get unicode'
|
||||
);
|
||||
|
||||
verifyNotEnumerable(descriptor.get, 'name');
|
||||
verifyNotWritable(descriptor.get, 'name');
|
||||
verifyConfigurable(descriptor.get, 'name');
|
Loading…
Reference in New Issue