diff --git a/spec/api-ipc-spec.js b/spec/api-ipc-spec.js index be4f788fb0d0..da4acf887e4b 100644 --- a/spec/api-ipc-spec.js +++ b/spec/api-ipc-spec.js @@ -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 () {