Bug 1143915 - Fix test for MemoryActor now that it backs out when attempting to restart recording allocations when its already recording.

CLOSED TREE
This commit is contained in:
Jordan Santell 2015-03-18 11:52:00 -04:00
parent aa80265772
commit 6ce850680b

View File

@ -34,6 +34,7 @@ window.onload = function() {
});
allocator();
var response = yield memory.getAllocations();
yield memory.stopRecordingAllocations();
return response.allocations.length;
});
@ -49,7 +50,6 @@ window.onload = function() {
// jit-tests
// (js/src/jit-test/tests/debug/Memory-allocationsSamplingProbability-*.js).
yield memory.stopRecordingAllocations();
yield memory.detach();
destroyServerAndFinish(client);
});