tor-browser

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

early-errors-expression-arguments-in-formal-parameters-strict.js (550B)


      1 // |reftest| error:SyntaxError
      2 'use strict';
      3 // Copyright 2017 the V8 project authors. All rights reserved.
      4 // This code is governed by the BSD license found in the LICENSE file.
      5 
      6 /*---
      7 author: Caitlin Potter <caitp@igalia.com>
      8 esid: sec-async-generator-function-definitions-static-semantics-early-errors
      9 description: >
     10  It is a SyntaxError if FormalParameters contains arguments in strict mode.
     11 negative:
     12  phase: parse
     13  type: SyntaxError
     14 flags: [onlyStrict]
     15 features: [async-iteration]
     16 ---*/
     17 
     18 $DONOTEVALUATE();
     19 
     20 (async function*(arguments) { });