summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/dynamic-import-oom.js
blob: 561ccf761ed2014b55860554c68e2419fd610c0d (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| --ion-offthread-compile=off
//
// Note: without --ion-offthread-compile=off this test takes a long time and
// may timeout on some platforms. See bug 1507721.

ignoreUnhandledRejections();

oomTest(() => import("module1.js"));
oomTest(() => import("cyclicImport1.js"));