Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support calling remote setters with remote objects #9101

Merged
merged 4 commits into from
Apr 4, 2017

Conversation

kevinsawicki
Copy link
Contributor

@kevinsawicki kevinsawicki commented Apr 3, 2017

Noticed while working on #9023 that you couldn't call a remote setter with a remote object in the same way you can pass a remote object to a remote function call.

This was because the raw value was passed over IPC instead of a wrapped value that supported all the types (like remote-object).

This pull request switches the ELECTRON_BROWSER_MEMBER_SET channel to marshall/unmarshall the value being set the same as an argument to a remote function call.

@kevinsawicki kevinsawicki force-pushed the wrap-remote-set-as-args branch from b2f0336 to fdd3633 Compare April 4, 2017 18:18
@kevinsawicki kevinsawicki merged commit 3c1a372 into master Apr 4, 2017
@kevinsawicki kevinsawicki deleted the wrap-remote-set-as-args branch April 4, 2017 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant