]> khamidou — GitHub mirrors - electron.git/commitdiff
Add spec for #308.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 14 May 2014 08:10:33 +0000 (16:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 14 May 2014 08:16:35 +0000 (16:16 +0800)
spec/chromium-spec.coffee

index 1454c23ae649f6e233a63bae5ff2a6fd266126f7..7a1b68efd4cf849b1f77fd7d3281c43f57924085 100644 (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