From: Cheng Zhao Date: Tue, 22 Sep 2015 06:55:35 +0000 (+0800) Subject: spec: Suppress beginFrameSubscription for now X-Git-Tag: v0.33.1~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4cccce6bfe9a18820dc2c18f1be6bfbcecf1da00;p=electron.git spec: Suppress beginFrameSubscription for now Since the callback is called asynchronously there is no way to prevent the callback from being called twice. --- diff --git a/spec/api-browser-window-spec.coffee b/spec/api-browser-window-spec.coffee index b2bca533..de713a65 100644 --- a/spec/api-browser-window-spec.coffee +++ b/spec/api-browser-window-spec.coffee @@ -304,10 +304,7 @@ describe 'browser-window module', -> done() w.loadUrl url - describe 'beginFrameSubscription method', -> - # It is not very reliable on Travis CI. - return if process.env.TRAVIS is 'true' - + xdescribe 'beginFrameSubscription method', -> it 'subscribes frame updates', (done) -> w.loadUrl "file://#{fixtures}/api/blank.html" w.webContents.beginFrameSubscription (data) ->