From 0cd3f3cc40a764bedcee9cc7c9950dc052b71718 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 21 Aug 2013 10:33:42 +0800 Subject: [PATCH] No need to open video when testing webkitGetUserMedia. The purpose of this test is to test whether the callback can be called. --- spec/web/webrtc.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/web/webrtc.coffee b/spec/web/webrtc.coffee index 6fc474e89..c2e2c3419 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()