[fuchsia] Report content-initiated teardowns distinctly from crashes.
When the Frame used by a web-based component self-terminates, the web component will now report the status code passed to the channel's error- handler as the component's OnTerminated() exit-code. The Frame implementation is updated to close the channel with ZX_OK if the web content itself triggers teardown (e.g. via window.close()). In addition to reporting the exit-code via OnTerminated(), instances of CastComponent will report the exit-code to their ApplicationContext. Bug: fuchsia:51028, b/148594115 Change-Id: Ib3543782d81e276372f9163e4c2e51454f9fc280 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207389 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:David Dorwin <ddorwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#772243}
Showing
Please register or sign in to comment