summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/finalizationRegistry-oom1.js
blob: 83295bb702191f10a16cd68937c2eb5fed8df313 (plain)
1
2
3
4
5
6
// Don't test prototype initialization etc.
new FinalizationRegistry(x => 0);

oomTest(() => {
    new FinalizationRegistry(x => 0);
});