bug-1530643.js (279B)
1 // |jit-test| skip-if: !hasFunction.oomAtAllocation; error: Error 2 3 // Keep this in sync with js::ThreadType::THREAD_TYPE_WORKER. 4 const THREAD_TYPE_WORKER = 12; 5 6 // OOM testing of worker threads is disallowed because it's not thread safe. 7 oomAtAllocation(11, THREAD_TYPE_WORKER);