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

Side by Side Diff: content/test/data/webrtc/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: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
jam 2012/11/19 19:14:51 since webrtc code is in media subdirs, how about c
phoglund_chromium 2012/11/20 09:02:03 Yeah, maybe it's better to talk about the code in
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
« content/renderer/DEPS ('K') | « content/renderer/media/webrtc_getusermedia_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698