1 2 3 4 5 6 7 8 9
// 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);