mirror of
https://github.com/tc39/test262.git
synced 2025-05-03 06:20:37 +02:00
Prior to this commit, the descriptors of the constructor properties of the global object were verified inconsistently, many independent assertions occured in the same file, and that file test was poorly located. Restructure the relevant tests to improve coverage, follow convention, and promote discoverability.
17 lines
595 B
JavaScript
17 lines
595 B
JavaScript
// Copyright (C) 2019 Bocoup. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-constructor-properties-of-the-global-object-function
|
|
description: Property descriptor for Function
|
|
info: |
|
|
Every other data property described in clauses 18 through 26 and in Annex B.2
|
|
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
|
|
[[Configurable]]: true } unless otherwise specified.
|
|
includes: [propertyHelper.js]
|
|
---*/
|
|
|
|
verifyNotEnumerable(this, "Function");
|
|
verifyWritable(this, "Function");
|
|
verifyConfigurable(this, "Function");
|