summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1764239.js
blob: 2beb2a89593027612ff09fd9a6444150b52fa9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
let module1 = registerModule('module1', parseModule(
  `import {} from "module2";
   import {} from "module3";`));

let module2 = registerModule('module2', parseModule(
  `await 1;`));

let module3 = registerModule('module3', parseModule(
  `throw 1;`));

moduleLink(module1);
moduleEvaluate(module1).catch(() => 0);
drainJobQueue();