Backed out changeset 1b14354719c0 (bug 1895254) for causing bustages on NavigationTra...
[gecko.git] / js / src / tests / test262 / language / module-code / eval-rqstd-abrupt.js
blobf02fee5f5bbd423091bc8d9b6e1c4508379e2a5f
1 // |reftest| error:TypeError 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: >
6     Abrupt completion during module evaluation precludes further evaluation
7 esid: sec-moduleevaluation
8 info: |
9     [...]
10     6. For each String required that is an element of
11        module.[[RequestedModules]] do,
12        a. Let requiredModule be ? HostResolveImportedModule(module, required).
13        b. Perform ? requiredModule.ModuleEvaluation().
14 negative:
15   phase: runtime
16   type: TypeError
17 flags: [module]
18 ---*/
20 import './eval-rqstd-abrupt-err-type_FIXTURE.js';
21 import './eval-rqstd-abrupt-err-uri_FIXTURE.js';
23 throw new RangeError();