]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Increase timeout for window.open specs
authorCheng Zhao <zcbenz@gmail.com>
Tue, 6 Oct 2015 08:08:32 +0000 (16:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 6 Oct 2015 08:08:32 +0000 (16:08 +0800)
spec/chromium-spec.coffee

index 2c4853a0d6350d246cc0ebce1eea66937d52d214..a034f93782358829322e57e760d6c4c064eafc29 100644 (file)
@@ -56,6 +56,8 @@ describe 'chromium feature', ->
       assert.notEqual navigator.language, ''
 
   describe 'window.open', ->
+    @timeout 10000
+
     it 'returns a BrowserWindowProxy object', ->
       b = window.open 'about:blank', '', 'show=no'
       assert.equal b.closed, false
@@ -80,6 +82,8 @@ describe 'chromium feature', ->
       b = window.open "file://#{fixtures}/pages/window-open-size.html", '', 'show=no'
 
   describe 'window.opener', ->
+    @timeout 10000
+
     url = "file://#{fixtures}/pages/window-opener.html"
     w = null