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