Sign in
chromium
/
chromium
/
src
/
117b9d3a698a52d96857b31caeb72c2e74f2a782
/
.
/
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
;
}