Bug 1024858 - WIP: Improve buffered range calculation for MediaSource objects.