Remove unnecessary cross-Realm check in rpc

This was causing the new failure in Chrome debug mode in the `testLinkTypesPropertySetters` test.
This commit is contained in:
Scott Kyle 2016-06-14 00:56:40 -07:00
parent 030807e2b9
commit 5b9fbbb0ac

View File

@ -104,10 +104,6 @@ function serialize(realmId, value) {
let id = value[idKey];
if (id) {
if (value[realmKey] != realmId) {
throw new Error('Unable to serialize value from another Realm');
}
return {id};
}