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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 months 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>A disabled audio track is rendered as silence</title> 4 <title>A disabled audio track is rendered as silence</title>
5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/>
6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#in troduction"> 6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#in troduction">
7 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#me diastreams-as-media-elements"> 7 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#me diastreams-as-media-elements">
8 </head> 8 </head>
9 <body> 9 <body>
10 <p class="instructions">When prompted, accept to share your audio stream.</p> 10 <p class="instructions">When prompted, accept to share your audio stream.</p>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 }); 46 });
47 stream.getAudioTracks()[0].enabled = false; 47 stream.getAudioTracks()[0].enabled = false;
48 48
49 streamSource.connect(silenceDetector); 49 streamSource.connect(silenceDetector);
50 silenceDetector.connect(ctx.destination); 50 silenceDetector.connect(ctx.destination);
51 }), function(error) {}); 51 }), function(error) {});
52 }); 52 });
53 </script> 53 </script>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698