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