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

Unified Diff: content/test/data/media/getusermedia.html

Issue 2291893002: Let Contraints Controll Mute/Unmute Audio Local Playback For Desktop Sharing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/test/data/media/getusermedia.html
diff --git a/content/test/data/media/getusermedia.html b/content/test/data/media/getusermedia.html
index f066a8a195e8741c5662ef0f622c5e94492789f8..f6b341c3ac1ac12677c63f77063b6c75d7dd283d 100644
--- a/content/test/data/media/getusermedia.html
+++ b/content/test/data/media/getusermedia.html
@@ -42,6 +42,15 @@
failedCallback);
}
+ // Requests getusermedia and expects it to succeed.
+ function getUserMediaAndExpectSuccess(constraints) {
+ console.log('Calling getUserMediaAndExpectSuccess.');
+ navigator.webkitGetUserMedia(
+ constraints,
+ reportTestSuccess,
+ failedCallback);
+ }
+
// Requests getusermedia and expects it to fail. The error name is returned
// to the test.
function getUserMediaAndExpectFailure(constraints) {

Powered by Google App Engine
This is Rietveld 408576698