Chromium Code Reviews| Index: chrome/test/data/webrtc/media_devices.js |
| diff --git a/chrome/test/data/webrtc/media_devices.js b/chrome/test/data/webrtc/media_devices.js |
| index 38a7238ccef3e3e907b6af1936af3be4ea1bc4e6..0780dd5e5a87992907ab4e2e8a0e93595c51a976 100644 |
| --- a/chrome/test/data/webrtc/media_devices.js |
| +++ b/chrome/test/data/webrtc/media_devices.js |
| @@ -11,19 +11,7 @@ |
| * Returns the list of devices available. |
| */ |
| function getMediaDevices() { |
| - navigator.getMediaDevices(function(devices) { |
| + navigator.mediaDevices.enumerateDevices().then(function(devices) { |
| returnToTest(JSON.stringify(devices)); |
| }); |
| } |
|
hbos_chromium
2016/11/03 10:25:40
This change affects this code, right?
https://cs.c
Guido Urdaneta
2016/11/03 11:41:10
Nice catch. I'll address the issues with this test
|
| - |
| -/** |
| - * Queries for media sources on the current system using the getSources API. |
| - * |
| - * Returns the list of sources available. |
| - */ |
| -function getSources() { |
| - MediaStreamTrack.getSources(function(sources) { |
| - returnToTest(JSON.stringify(sources)); |
| - }); |
| -} |
| - |