tor-browser

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

eval-rqstd-order.js (1303B)


      1 // |reftest| 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: >
      6    Requested modules are evaluated prior to the requesting module in source
      7    code order
      8 esid: sec-moduleevaluation
      9 info: |
     10    [...]
     11    6. For each String required that is an element of
     12       module.[[RequestedModules]] do,
     13       a. Let requiredModule be ? HostResolveImportedModule(module, required).
     14       b. Perform ? requiredModule.ModuleEvaluation().
     15    [...]
     16    16. Let result be the result of evaluating module.[[ECMAScriptCode]].
     17    [...]
     18 includes: [fnGlobalObject.js]
     19 flags: [module]
     20 features: [export-star-as-namespace-from-module]
     21 ---*/
     22 
     23 assert.sameValue(fnGlobalObject().test262, '123456789');
     24 
     25 import {} from './eval-rqstd-order-1_FIXTURE.js';
     26 
     27 import './eval-rqstd-order-2_FIXTURE.js';
     28 
     29 import * as ns1 from './eval-rqstd-order-3_FIXTURE.js';
     30 
     31 import dflt1 from './eval-rqstd-order-4_FIXTURE.js';
     32 
     33 export {} from './eval-rqstd-order-5_FIXTURE.js';
     34 
     35 import dflt2, {} from './eval-rqstd-order-6_FIXTURE.js';
     36 
     37 export * from './eval-rqstd-order-7_FIXTURE.js';
     38 
     39 import dflt3, * as ns2 from './eval-rqstd-order-8_FIXTURE.js';
     40 
     41 export * as ns3 from './eval-rqstd-order-9_FIXTURE.js';
     42 
     43 reportCompare(0, 0);