summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/oomInWeakMap.js
blob: 157d728907344f368a5f730afc087e05f2bfbb28 (plain)
1
2
3
4
5
6
7
if (!('oomTest' in this))
    quit();

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