gecko/content/media/test/bug883173.vtt
Rick Eyre cc4dfddc6f Bug 883173 - Part 2: Add insertion sorting for TextTrackCueList::AddCue. r=rillian
- We expect most files to already be sorted, so an insertion sort starting from
the end of the current array should be more efficient than a general sort step
after all cues are loaded
- Added a test for insertion sorting as well.
2013-06-18 13:52:10 -04:00

17 lines
243 B
Plaintext

WEBVTT
00:03.000 --> 00:04.000
Should display fifth.
00:01.000 --> 00:02.000
Should display first.
00:01.000 --> 00:03.000
Should display second.
00:02.000 --> 00:04.000
Should display forth.
00:02.000 --> 00:03.000
Should display third.