summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1670378.js
blob: ddda1f97100e09ac04b25fe98feb85def20c0d90 (plain)
1
2
3
4
5
6
7
8
// |jit-test| allow-unhandlable-oom

const otherGlobalNewCompartment = newGlobal({newCompartment: true});

oomTest(function() {
  let {transplant} = transplantableObject();
  transplant(otherGlobalNewCompartment);
});