tor-browser

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

2nd-param-yield-ident-invalid-strict.js (730B)


      1 // |reftest| error:SyntaxError
      2 'use strict';
      3 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      4 // This code is governed by the BSD license found in the LICENSE file.
      5 /*---
      6 description: >
      7  ImportCall parameter list forwards the Yield production parameter - invalid IdentifierReference
      8 esid: sec-import-call-runtime-semantics-evaluation
      9 info: |
     10  ImportCall[Yield, Await]:
     11    import ( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     12    import ( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
     13 features: [dynamic-import, import-attributes]
     14 flags: [onlyStrict]
     15 negative:
     16  phase: parse
     17  type: SyntaxError
     18 ---*/
     19 $DONOTEVALUATE();
     20 
     21 import('./empty_FIXTURE.js', yield);