Add spec for checking webgl support.
This commit is contained in:
parent
6799fe5393
commit
d5171ab941
1 changed files with 5 additions and 0 deletions
|
@ -65,3 +65,8 @@ describe 'chromium feature', ->
|
||||||
it 'does not crash', ->
|
it 'does not crash', ->
|
||||||
RUint8Array = require('remote').getGlobal 'Uint8Array'
|
RUint8Array = require('remote').getGlobal 'Uint8Array'
|
||||||
new RUint8Array
|
new RUint8Array
|
||||||
|
|
||||||
|
describe 'webgl', ->
|
||||||
|
it 'can be get as context in canvas', ->
|
||||||
|
webgl = document.createElement('canvas').getContext 'webgl'
|
||||||
|
assert.notEqual webgl, null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue