2
0
mirror of https://github.com/status-im/realm-js.git synced 2025-01-16 17:45:49 +00:00

Fix how _waitForDownload is treated by the RPC code.

This commit is contained in:
Mark Rowe 2017-10-11 09:29:53 -07:00
parent 0249722a02
commit 718ee3296c

@ -128,6 +128,7 @@ util.createMethods(Realm.prototype, objectTypes.REALM, [
'removeListener', 'removeListener',
'removeAllListeners', 'removeAllListeners',
'close', 'close',
'_waitForDownload',
]); ]);
// Mutating methods: // Mutating methods:
@ -189,12 +190,6 @@ Object.defineProperties(Realm, {
rpc.clearTestState(); rpc.clearTestState();
}, },
}, },
_waitForDownload: {
value: function(_config, sessionCallback, callback) {
sessionCallback();
callback();
}
},
}); });
for (let i = 0, len = debugHosts.length; i < len; i++) { for (let i = 0, len = debugHosts.length; i < len; i++) {