tor-browser

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

eval-self-abrupt.js (697B)


      1 // |reftest| error:Test262Error module
      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: Abrupt completion from module evaluation is reported
      6 esid: sec-moduleevaluation
      7 info: |
      8    [...]
      9    16. Let result be the result of evaluating module.[[ECMAScriptCode]].
     10    17. Suspend moduleCxt and remove it from the execution context stack.
     11    18. Resume the context that is now on the top of the execution context
     12        stack as the running execution context.
     13    19. Return Completion(result).
     14 negative:
     15  phase: runtime
     16  type: Test262Error
     17 flags: [module]
     18 ---*/
     19 
     20 throw new Test262Error();