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

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: add comment 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // TODO(mlamouri): per spec, this should do nothing but Blink will mute the
10 // media in this case, see https://crbug.com/350303
11 audio.setAttribute('muted', true);
12 audio.src = findMediaFile('audio', '../content/test');
13
14 var video = document.querySelector('video');
15 video.setAttribute('muted', true);
16 video.src = findMediaFile('video', '../content/test');
17 </script>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698