test262/test/built-ins/ShadowRealm/extensibility.js

16 lines
481 B
JavaScript
Raw Normal View History

2021-07-20 22:00:30 +02:00
// Copyright (C) 2021 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
2021-09-02 17:07:19 +02:00
esid: sec-shadowrealm-constructor
2021-07-20 22:00:30 +02:00
description: >
2021-09-02 17:07:19 +02:00
The ShadowRealm constructor is extensible
2021-07-20 22:00:30 +02:00
info: |
17 ECMAScript Standard Built-in Objects
Unless specified otherwise, the [[Extensible]] internal slot of a built-in
object initially has the value true.
features: [ShadowRealm]
2021-07-20 22:00:30 +02:00
---*/
2021-09-02 17:07:19 +02:00
assert.sameValue(Object.isExtensible(ShadowRealm), true);