summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/dynamic-import-oom.js
blob: 9682c7560a6f9f096f4eca1eb657dfa83b55ecd8 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| skip-if: !('oomTest' in this); --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"));