summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/top-level-await/async-module-does-not-block-sibling-modules.js
blob: c7c5e2f35f48de9c2ea305ade99f34bf9bdbdcb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |reftest| module async
// Copyright (C) 2023 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-innermoduleevaluation
description: >
  While an asynchronous module is waiting for a promise resolution,
  sibling modules in the modules graph must be evaluated.
flags: [module, async]
features: [top-level-await]
---*/

import "./async-module-tla_FIXTURE.js";
import { check } from "./async-module-sync_FIXTURE.js";
assert.sameValue(check, false);
$DONE();