blob: b9fa746fe2ef5cddc19d3c2370de6f994c5995be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// |reftest| shell-option(--enable-shadow-realms) skip-if(!xulRuntime.shell) -- requires shell-options
// Copyright (C) 2021 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-shadowrealm.prototype-@@tostringtag
description: >
`Symbol.toStringTag` property descriptor
info: |
The initial value of the @@toStringTag property is the String value
"ShadowRealm".
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [ShadowRealm, Symbol.toStringTag]
---*/
verifyProperty(ShadowRealm.prototype, Symbol.toStringTag, {
value: 'ShadowRealm',
enumerable: false,
writable: false,
configurable: true
});
reportCompare(0, 0);
|