From: Cheng Zhao Date: Wed, 14 May 2014 08:10:33 +0000 (+0800) Subject: Add spec for #308. X-Git-Tag: v0.12.5~16 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0798896936fb632ffdf2828cf2c4d55b640f03c0;p=electron.git Add spec for #308. --- diff --git a/spec/chromium-spec.coffee b/spec/chromium-spec.coffee index 1454c23a..7a1b68ef 100644 --- a/spec/chromium-spec.coffee +++ b/spec/chromium-spec.coffee @@ -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