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

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

Issue 341123005: Disable getMediaDevices tests. Revert to use getSources instead for getUserMedia tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review + rebase. Created 6 years, 6 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
« no previous file with comments | « content/browser/media/webrtc_getusermedia_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/media/getusermedia.html
diff --git a/content/test/data/media/getusermedia.html b/content/test/data/media/getusermedia.html
index 4867a5dcdd71be9bc58568e296f395b357c0a65e..fef58b76f3f8eedc8d4b9517d6548e95172fb358 100644
--- a/content/test/data/media/getusermedia.html
+++ b/content/test/data/media/getusermedia.html
@@ -13,8 +13,8 @@
reportTestSuccess();
});
- function getMediaDevices() {
- navigator.getMediaDevices(function(devices) {
+ function getSources() {
+ MediaStreamTrack.getSources(function(devices) {
document.title = 'Media devices available';
sendValueToTest(JSON.stringify(devices));
});
@@ -220,7 +220,7 @@
}
}
- // Calls GetUserMedia twice and verify that the frame rate is as expected for
+ // Calls GetUserMedia twice and verify that the frame rate is as expected for
// both streams.
function twoGetUserMediaAndVerifyFrameRate(constraints1,
constraints2,
@@ -239,7 +239,7 @@
function(stream) {
requestSecondGetUserMedia();
plugStreamIntoVideoElement(stream, 'local-view');
- detectVideoPlaying('local-view',
+ detectVideoPlaying('local-view',
function() {
validateFrameRate('local-view', expected_frame_rate1,
validateFrameRateCallback);
@@ -251,7 +251,7 @@
constraints2,
function(stream) {
plugStreamIntoVideoElement(stream, 'local-view-2');
- detectVideoPlaying('local-view-2',
+ detectVideoPlaying('local-view-2',
function() {
validateFrameRate('local-view-2', expected_frame_rate2,
validateFrameRateCallback);
« no previous file with comments | « content/browser/media/webrtc_getusermedia_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698