tor-browser

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

instn-iee-err-not-found.js (943B)


      1 // |reftest| error:SyntaxError module
      2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 description: IndirectExportEntries validation - undefined imported bindings
      6 esid: sec-moduledeclarationinstantiation
      7 info: |
      8    [...]
      9    9. For each ExportEntry Record e in module.[[IndirectExportEntries]], do
     10       a. Let resolution be ? module.ResolveExport(e.[[ExportName]], « », « »).
     11       b. If resolution is null or resolution is "ambiguous", throw a
     12          SyntaxError exception.
     13    [...]
     14 
     15    15.2.1.16.3 ResolveExport
     16 
     17    [...]
     18    9. Let starResolution be null.
     19    10. For each ExportEntry Record e in module.[[StarExportEntries]], do
     20        [...]
     21    11. Return starResolution.
     22 negative:
     23  phase: resolution
     24  type: SyntaxError
     25 flags: [module]
     26 ---*/
     27 
     28 $DONOTEVALUATE();
     29 
     30 export { x } from './instn-iee-err-not-found-empty_FIXTURE.js';