Add spec for #308.

This commit is contained in:
Cheng Zhao 2014-05-14 16:10:33 +08:00
parent b2c25a3efd
commit 0798896936

View file

@ -60,3 +60,8 @@ describe 'chromium feature', ->
assert.equal global.changedByIframe, true
done()
setTimeout isChanged, 30
describe 'creating a Uint8Array under browser side', ->
it 'does not crash', ->
RUint8Array = require('remote').getGlobal 'Uint8Array'
new RUint8Array