RUN(video.src = URL.createObjectURL(source)) EVENT(sourceopen) RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock")) EXPECTED (sourceBuffer.appendWindowStart == '0') OK EXPECTED (sourceBuffer.appendWindowEnd == 'Infinity') OK RUN(sourceBuffer.appendWindowEnd = 7.5) RUN(sourceBuffer.appendWindowStart = 3.5) RUN(sourceBuffer.appendBuffer(mediaSegment)) EVENT(updateend) IndexSizeError (DOM Exception 1): The index is not in the allowed range. IndexSizeError (DOM Exception 1): The index is not in the allowed range. RUN(sourceBuffer.appendWindowStart = 0) RUN(sourceBuffer.appendBuffer(mediaSegment)) EVENT(updateend) EXPECTED (sourceBuffer.buffered.length == '1'), OBSERVED '0' FAIL IndexSizeError (DOM Exception 1): The index is not in the allowed range. IndexSizeError (DOM Exception 1): The index is not in the allowed range. RUN(sourceBuffer.appendWindowEnd = 14.5) RUN(sourceBuffer.appendWindowStart = 11) RUN(sourceBuffer.appendBuffer(mediaSegment)) EVENT(updateend) EXPECTED (sourceBuffer.buffered.length == '2'), OBSERVED '0' FAIL IndexSizeError (DOM Exception 1): The index is not in the allowed range. IndexSizeError (DOM Exception 1): The index is not in the allowed range. END OF TEST