tor-browser

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

import.js (481B)


      1 // |reftest| error:SyntaxError
      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: The `import` declaration may not appear within a ScriptBody
      6 esid: sec-scripts
      7 negative:
      8  phase: parse
      9  type: SyntaxError
     10 info: |
     11     A.5 Scripts and Modules
     12 
     13     Script:
     14         ScriptBodyopt
     15 
     16     ScriptBody:
     17         StatementList
     18 ---*/
     19 
     20 $DONOTEVALUATE();
     21 
     22 import v from './import.js';