Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-muted.html
blob431f8cd6ea3d2032fbc45c6924c49bac3d9566d9
1 <video controls></video>
2 <p>Test 'muted' attribute<p>
3 <script src=media-file.js></script>
4 <script src=video-test.js></script>
5 <script>
6 testExpected("video.muted", false);
7 run("video.muted = true");
8 testExpected("video.muted", true);
9 video.src = findMediaFile("video", "content/test");
10 run("video.load()");
11 waitForEvent("canplaythrough", function () {
12 testExpected("video.muted", true);
13 run("video.muted = false");
14 testExpected("video.muted", false);
15 endTest();
16 });
17 </script>