Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
gc
/
multi-01.js
blob: 780e0c32b89a104387373d5a3c5088188f8546e7 [
file
] [
log
] [
blame
]
/* Make sure we don't collect the atoms compartment unless every compartment is marked. */
var
g
=
newGlobal
();
g
.
eval
(
"var x = 'some-atom';"
);
schedulegc
(
this
);
schedulegc
(
'atoms'
);
gc
(
'compartment'
);
print
(
g
.
x
);