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

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: Rebase 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 e0456356e757baa3ea32b76f7fa19b421453396a..e8aac18fa23ff874324853323a95a16727146d84 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