mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
spec: Remote object should be referenced by its members
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user