diff options
Diffstat (limited to 'testing/web-platform/tests/html/browsers/browsing-the-web/read-media')
-rw-r--r-- | testing/web-platform/tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/web-platform/tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html b/testing/web-platform/tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html index 5f3e95cce4..a3badfcb5e 100644 --- a/testing/web-platform/tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html +++ b/testing/web-platform/tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html @@ -22,8 +22,7 @@ promise_test(async () => { + 'VIDEO%26PartialContent'; let v = document.createElement("video"); - if (v.canPlayType("video/ogv") == "") - frame.src += "%26mp4"; + frame.src += "%26mp4"; document.body.appendChild(frame); await new Promise(resolve => frame.onload = resolve); |