]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Suppress beginFrameSubscription for now
authorCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 06:55:35 +0000 (14:55 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 06:55:35 +0000 (14:55 +0800)
Since the callback is called asynchronously there is no way to prevent
the callback from being called twice.

spec/api-browser-window-spec.coffee

index b2bca533b467e70ba4c797b1ed9c55f59e664d21..de713a6545c67d3038331d3906508a995db63a5c 100644 (file)
@@ -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) ->