https://github.com/web-platform-tests/wpt
Revision 0b35fdbaa2752260e6039cb57077cf8a710e5741 authored by Jean-Yves Avenard on 25 August 2016, 12:56:59 UTC, committed by James Graham on 25 August 2016, 13:00:31 UTC
The tests incorrectly assume that all videos start at 0. However this is often not the case, in particular for the mp4 files.
The buffered range is the intersection of the audio track and the video track. As such, if the video track starts at a later time than 0, the buffered range of the source buffer can't be starting at 0.

Rather than using different videos, we properly use the correct values; this is done to ensure that buffered range are calculated correctly, regardless of the video content.

timestamps verify with mkvinfo utility for webm and ffprobe for mp4.

See issue https://github.com/w3c/web-platform-tests/issues/1939

MozReview-Commit-ID: AMKgJHEJsWr

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1293613
1 parent a84360c
History
Tip revision: 0b35fdbaa2752260e6039cb57077cf8a710e5741 authored by Jean-Yves Avenard on 25 August 2016, 12:56:59 UTC
Don't assume that all videos start at 0.
Tip revision: 0b35fdb
File Mode Size
2dcontext
FileAPI
IndexedDB
WebCryptoAPI
WebIDL
XMLHttpRequest
ambient-light
annotation-model
app-uri
battery-status
common
compat
conformance-checkers
content-security-policy
cookies
cors
cssom-view
custom-elements
docs
dom
domparsing
domxpath
editing
encoding
encrypted-media
eventsource
ext-xhtml-pubid
fetch
fonts
gamepad
generic-sensor
geolocation-API
hr-time
html
html-imports
html-longdesc
html-media-capture
http
images
infrastructure
innerText
js
media
media-source
mediacapture-streams
microdata
mixed-content
navigation-timing
notifications
old-tests
orientation-event
page-visibility
payment-request
performance-timeline
pointerevents
pointerlock
presentation-api
progress-events
proximity
quirks-mode
referrer-policy
resource-timing
resources @ 8550cfe
screen-orientation
secure-contexts
selection
selectors
selectors-api
service-workers
shadow-dom
streams
subresource-integrity
svg
tools @ de4d6eb
touch-events
typedarrays
uievents
url
user-timing
vibration
wai-aria
web-animations
webaudio
webauthn
webdriver
webgl
webmessaging
webrtc
websockets
webstorage
webvtt
workers
.gitignore -rw-r--r-- 131 bytes
.gitmodules -rw-r--r-- 200 bytes
.travis.yml -rw-r--r-- 216 bytes
CONTRIBUTING.md -rw-r--r-- 1.5 KB
LICENSE -rw-r--r-- 145 bytes
README.md -rw-r--r-- 8.9 KB
config.default.json -rw-r--r-- 679 bytes
lint -rwxr-xr-x 261 bytes
lint.whitelist -rw-r--r-- 4.0 KB
manifest -rwxr-xr-x 167 bytes
serve -rwxr-xr-x 80 bytes
serve.py -rw-r--r-- 60 bytes
server-side.md -rw-r--r-- 8.1 KB
testharness_runner.html -rw-r--r-- 95 bytes

README.md

back to top