summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug1846247.js
blob: 4d63f0cfb3c0e25684a473bd4212c7dae1dfc0fd (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this); allow-unhandlable-oom
ignoreUnhandledRejections();
oomTest(() => {
  gc();
  import("javascript:0");
  drainJobQueue();
});