Debian Codegraph @

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

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