tor-browser

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

export-expname-from-star-string.js (653B)


      1 // |reftest| module
      2 // Copyright (C) 2020 Bradley Farias. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 description: >
      6  ExportFromClause : `*` `as` ModuleExportName
      7  esid: prod-ExportFromClause
      8 info: |
      9  ExportFromClause :
     10    `*` `as` ModuleExportName
     11 
     12  ModuleExportName : StringLiteral
     13 
     14 flags: [module]
     15 features: [arbitrary-module-namespace-names]
     16 ---*/
     17 import * as Scouts from "./export-expname-from-star-string.js";
     18 export * as "All" from "./export-expname_FIXTURE.js";
     19 
     20 assert.sameValue(Scouts["☿"], undefined);
     21 assert.sameValue(Scouts.All["☿"], globalThis.Mercury);
     22 
     23 reportCompare(0, 0);