projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6799fe5
)
Add spec for checking webgl support.
author
Cheng Zhao
<zcbenz@gmail.com>
Sun, 18 May 2014 14:37:59 +0000
(22:37 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Sun, 18 May 2014 14:37:59 +0000
(22:37 +0800)
spec/chromium-spec.coffee
patch
|
blob
|
history
diff --git
a/spec/chromium-spec.coffee
b/spec/chromium-spec.coffee
index
7a1b68e
..
f7d56e7
100644
(file)
--- a/
spec/chromium-spec.coffee
+++ b/
spec/chromium-spec.coffee
@@
-65,3
+65,8
@@
describe 'chromium feature', ->
it 'does not crash', ->
RUint8Array = require('remote').getGlobal 'Uint8Array'
new RUint8Array
+
+ describe 'webgl', ->
+ it 'can be get as context in canvas', ->
+ webgl = document.createElement('canvas').getContext 'webgl'
+ assert.notEqual webgl, null