Debian Codegraph @

js/src/tests/test262/built-ins/Symbol/matchAll/cross-realm.js

raw
1 // Copyright (C) 2018 Peter Wong. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: pending
5 description: Value shared by all realms
6 info: |
7 Unless otherwise specified, well-known symbols values are shared by all
8 realms.
9 features: [cross-realm, Symbol.matchAll]
10 ---*/
11
12 var OSymbol = $262.createRealm().global.Symbol;
13
14 assert.sameValue(Symbol.matchAll, OSymbol.matchAll);
15
16 reportCompare(0, 0);