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.
5 description: Abrupt completion from module evaluation is reported
6 esid: sec-moduleevaluation
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).
20 throw new Test262Error();