cross-realm.js (462B)
1 // Copyright (C) 2016 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 esid: sec-symbol.split 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.split] 10 ---*/ 11 12 var OSymbol = $262.createRealm().global.Symbol; 13 14 assert.sameValue(Symbol.split, OSymbol.split); 15 16 reportCompare(0, 0);