spec: Remote object should be referenced by its members

This commit is contained in:
Cheng Zhao 2016-04-01 14:50:33 +09:00
parent 0416e65b8b
commit f36851fcff

View file

@ -73,6 +73,12 @@ describe('ipc module', function () {
assert.equal(delete remoteFunctions.aFunction, true)
})
it('is referenced by its members', function () {
let stringify = remote.getGlobal('JSON').stringify
gc();
stringify({})
});
})
describe('remote value in browser', function () {