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

Side by Side Diff: content/test/data/media/getusermedia_and_stop.html

Issue 11413065: Adding first WebRTC browser test to content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled audio-only test for now: need proper fake device support first. Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4 function getUserMedia(constraints) {
5 navigator.webkitGetUserMedia(constraints, okCallback, failedCallback);
6 }
7
8 function failedCallback(error) {
9 document.title = 'GetUserMedia call failed with code ' + error.code;
10 }
11
12 function okCallback(stream) {
13 stream.stop();
14 document.title = 'OK';
15 }
16 </script>
17 </head>
18 </html>
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698