Sign in
chromium
/
chromium
/
src
/
99e6ba383f1c2963eb5f3b93c5ef243c07a8240d
/
.
/
third_party
/
WebKit
/
LayoutTests
/
compositing
/
resources
/
media-testing.js
blob: 9700ddc1a02d7c2b72b89fc4814edb718388a03c [
file
] [
log
] [
blame
]
if
(
window
.
testRunner
)
testRunner
.
waitUntilDone
();
function
setupVideo
(
videoElement
,
videoPath
,
canPlayThroughCallback
)
{
videoElement
.
addEventListener
(
"canplaythrough"
,
canPlayThroughCallback
);
videoElement
.
src
=
videoPath
;
}