New issue
Advanced search Search tips

Issue 846833 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Mojo invitation process errors should fire on disconnect too

Project Member Reported by roc...@chromium.org, May 25 2018

Issue description

Old EDK API would only fire process errors on validation failure. The C API usefully triggers them on normal process disconnection as well. We can't currently forward the latter to the public C++ invitation API because a lot of code is written to not expect callback invocations in non-validation-failure cases e.g. normal remote process termination.

ProcessErrorCallback in the public invitation API should probably be replace with a new ProcessObserver interface that can observe events like OnError and OnDisconnect, both of which which can be deduced from error handler invocations within the existing C API.
 
Owner: rockot@google.com

Sign in to add a comment