Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
debug
/
Memory-drainAllocationsLog-05.js
blob: 0e8e035da757d708b3053eef3a57c0733b2848e0 [
file
] [
log
] [
blame
]
// Test an empty allocation log.
const
root
=
newGlobal
();
const
dbg
=
new
Debugger
();
dbg
.
addDebuggee
(
root
)
dbg
.
memory
.
trackingAllocationSites
=
true
;
const
allocs
=
dbg
.
memory
.
drainAllocationsLog
();
assertEq
(
allocs
.
length
,
0
);