tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

extensibility.js (606B)


      1 // |reftest| shell-option(--enable-shadow-realms) skip-if(!xulRuntime.shell) -- requires shell-options
      2 // Copyright (C) 2021 Leo Balter. 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 extensible
      8 info: |
      9  17 ECMAScript Standard Built-in Objects
     10 
     11  Unless specified otherwise, the [[Extensible]] internal slot of a built-in
     12  object initially has the value true.
     13 features: [ShadowRealm]
     14 ---*/
     15 
     16 assert.sameValue(Object.isExtensible(ShadowRealm), true);
     17 
     18 reportCompare(0, 0);