tor-browser

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

async-module-does-not-block-sibling-modules.js (528B)


      1 // |reftest| module async
      2 // Copyright (C) 2023 Igalia, S.L. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: sec-innermoduleevaluation
      7 description: >
      8  While an asynchronous module is waiting for a promise resolution,
      9  sibling modules in the modules graph must be evaluated.
     10 flags: [module, async]
     11 features: [top-level-await]
     12 ---*/
     13 
     14 import "./async-module-tla_FIXTURE.js";
     15 import { check } from "./async-module-sync_FIXTURE.js";
     16 assert.sameValue(check, false);
     17 $DONE();