]> khamidou — GitHub mirrors - electron.git/commitdiff
Skip the webgl spec on Linux.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 19 May 2014 02:00:59 +0000 (02:00 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 19 May 2014 02:00:59 +0000 (02:00 +0000)
WebGL just usually don't work on Linux in virtual machines.

spec/chromium-spec.coffee

index f7d56e71089aff523eca545003c2104e9f3311b7..5e5d375956feddd1cfd66b7535e184779f5ef373 100644 (file)
@@ -68,5 +68,6 @@ describe 'chromium feature', ->
 
   describe 'webgl', ->
     it 'can be get as context in canvas', ->
+      return if process.platform is 'linux'
       webgl = document.createElement('canvas').getContext 'webgl'
       assert.notEqual webgl, null