summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1530643.js
blob: fa61063ea9127aaad2b58ce7e18375f534cb570f (plain)
1
2
3
4
5
6
// |jit-test| skip-if: !hasFunction.oomAtAllocation; error: Error

const THREAD_TYPE_WORKER = 10;

// OOM testing of worker threads is disallowed because it's not thread safe.
oomAtAllocation(11, THREAD_TYPE_WORKER);