STR: - Load a video - Play for some time - Seek back in the stream Expected: - |played| should be [0.00, time we seeked from]. Actual result: - |played| is [0.00, time we seeked to]. This is caused by the |nsTimeRanges::Normalize| method, which has a bug, it does not handle ranges contained in other ranges.
Created attachment 630227 [details] [diff] [review] Patch v0 : fix the bug and add a test.
Created attachment 630403 [details] [diff] [review] Adding r=chris.double