2021-07-16 18:00:56 +02:00
|
|
|
// Copyright (C) 2021 Rick Waldron. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
|
|
esid: sec-ecmascript-standard-built-in-objects
|
|
|
|
description: >
|
2021-09-02 17:07:19 +02:00
|
|
|
The value of ShadowRealm.name is 'ShadowRealm'
|
2021-07-16 18:00:56 +02:00
|
|
|
info: |
|
2021-09-02 16:46:33 +02:00
|
|
|
Every built-in function object, including constructors, has a "name" property
|
|
|
|
whose value is a String. Unless otherwise specified, this value is the name
|
|
|
|
that is given to the function in this specification.
|
2021-07-16 18:00:56 +02:00
|
|
|
|
2021-09-02 16:46:33 +02:00
|
|
|
Unless otherwise specified, the "name" property of a built-in function
|
|
|
|
object has the attributes
|
2021-07-16 18:00:56 +02:00
|
|
|
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
|
|
|
|
|
|
|
|
includes: [propertyHelper.js]
|
2021-09-02 16:46:33 +02:00
|
|
|
features: [ShadowRealm]
|
2021-07-16 18:00:56 +02:00
|
|
|
---*/
|
|
|
|
|
2021-09-02 17:07:19 +02:00
|
|
|
verifyProperty(ShadowRealm, "name", {
|
|
|
|
value: "ShadowRealm",
|
2021-07-19 19:26:09 +02:00
|
|
|
enumerable: false,
|
|
|
|
writable: false,
|
|
|
|
configurable: true,
|
|
|
|
});
|