Commit f1e32fa7 authored by Yulia's avatar Yulia Committed by ystartsev@mozilla.com
Browse files

Bug 1967805: add test for cancellables held past shutdown; r=iain

parent 178d2615
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
// |jit-test| --setpref=atomics_wait_async=true; skip-if: helperThreadCount() === 0;

var sab = new SharedArrayBuffer(4096);
var ia = new Int32Array(sab);
ia[37] = 0x1337;

Atomics.waitAsync(ia, 37, 0x1337, 1000);