Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html

Issue 2477203002: Media Controls: delegate 'volumechange' and 'focusin' handling to an EventListener. (Closed)
Patch Set: moar tests Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <title>This tests that controls are properly updated when muted content attribut e is changed.</title>
4 <script src="../media-file.js"></script>
5 <audio controls></audio>
6 <video controls></video>
7 <script>
8 var audio = document.querySelector('audio');
9 audio.setAttribute('muted', true);
foolip 2016/11/14 16:07:37 Add a TODO that this is actually wrong per HTML, h
mlamouri (slow - plz ping) 2016/11/14 23:46:29 Done.
10 audio.src = findMediaFile('audio', '../content/test');
11
12 var video = document.querySelector('video');
13 video.setAttribute('muted', true);
14 video.src = findMediaFile('video', '../content/test');
15 </script>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698