From: Cheng Zhao Date: Wed, 21 Aug 2013 02:33:42 +0000 (+0800) Subject: No need to open video when testing webkitGetUserMedia. X-Git-Tag: v0.4.1~15 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0cd3f3cc40a764bedcee9cc7c9950dc052b71718;p=electron.git No need to open video when testing webkitGetUserMedia. The purpose of this test is to test whether the callback can be called. --- diff --git a/spec/web/webrtc.coffee b/spec/web/webrtc.coffee index 6fc474e8..c2e2c341 100644 --- a/spec/web/webrtc.coffee +++ b/spec/web/webrtc.coffee @@ -2,6 +2,6 @@ describe 'webrtc', -> describe 'navigator.webkitGetUserMedia', -> it 'should call its callbacks', (done) -> @timeout 5000 - navigator.webkitGetUserMedia audio: true, video: true, + navigator.webkitGetUserMedia audio: true, video: false, -> done() -> done()