tor-browser

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

legacy-octal-escape-sequence-prologue-strict.js (425B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (c) 2012 Ecma International.  All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 es5id: 7.8.4-1-s
      7 description: >
      8    A directive preceding an 'use strict' directive may not contain
      9    an OctalEscapeSequence
     10 negative:
     11  phase: parse
     12  type: SyntaxError
     13 ---*/
     14 
     15 $DONOTEVALUATE();
     16 
     17 (function() {
     18  "asterisk: \052";
     19  "use strict";
     20 });