tor-browser

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

2nd-param-in.js (775B)


      1 // |reftest| async
      2 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 description: ImportCall parameter list enables the Yield production parameter
      6 esid: sec-import-call-runtime-semantics-evaluation
      7 info: |
      8  ImportCall[Yield, Await]:
      9    import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     10    import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     11 features: [dynamic-import, import-attributes]
     12 flags: [async]
     13 ---*/
     14 
     15 var promise;
     16 
     17 for (promise = import('./2nd-param_FIXTURE.js', 'test262' in {} || undefined); false; ) ;
     18 
     19 promise
     20  .then(function(module) {
     21    assert.sameValue(module.default, 262);
     22  })
     23  .then($DONE, $DONE);