IsWebcamAvailableOnSystem() in browser_test_utils.h always returns false |
||
Issue descriptionThere is a typo in the JavaScript that checks for the presence of a video input device. The device.kind is checked against 'video-input', but it should be 'videoinput' without the dash. The check has probably never worked, and this means that all tests that use this check have effectively been disabled on all platforms since it was introduced, see Code Review [1]. The affected tests are: chrome/browser/media/webrtc/webrtc_webcam_browsertests.cc [2] content/browser/webrtc/webrtc_image_capture_browsertest.cc [3] content/browser/webrtc/webrtc_webcam_browsertest.cc [4] [1] https://codereview.chromium.org/2334223012/ [2] https://cs.chromium.org/chromium/src/chrome/browser/media/webrtc/webrtc_webcam_browsertest.cc?l=81&cl=GROK [3] https://cs.chromium.org/chromium/src/content/browser/webrtc/webrtc_image_capture_browsertest.cc?l=100&cl=GROK [4] https://cs.chromium.org/chromium/src/content/browser/webrtc/webrtc_webcam_browsertest.cc?l=77&cl=GROK
,
Jan 17 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Dec 19 2016