Debian Codegraph @

js/src/tests/test262/built-ins/ShadowRealm/descriptor.js

raw
1 // |reftest| shell-option(--enable-shadow-realms) skip-if(!xulRuntime.shell) -- requires shell-options
2 // Copyright (C) 2021 Rick Waldron. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-shadowrealm-constructor
6 description: >
7 The ShadowRealm constructor is the initial value of the "ShadowRealm" property of the global object.
8 includes: [propertyHelper.js]
9 features: [ShadowRealm]
10 ---*/
11
12 verifyProperty(this, "ShadowRealm", {
13 enumerable: false,
14 writable: true,
15 configurable: true,
16 });
17
18 reportCompare(0, 0);