summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/oomInWeakMap.js
blob: 522dc247385c5aa036399407618d5008c742e63c (plain)
1
2
3
4
5
6
// |jit-test| skip-if: !('oomTest' in this)

oomTest(function () {
    eval(`var wm = new WeakMap();
         wm.set({}, 'FOO').get(false);`);
});