summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/finalizationRegistry-oom2.js
blob: c63307dfb03fabb1aa4b3bc86b9ff09a098e9ba4 (plain)
1
2
3
let registry = new FinalizationRegistry(x => 0);
let token = {};
oomTest(() => registry.register({}, 1, token));