mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
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:
parent
aa80265772
commit
6ce850680b
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user