Bug 870171 - Part 15: Add attemptPruneByDuration.
Bug 870171 - Part 16: Add attemptPruneBySize.