Presentation API: implement PresentationConnection.on{connect,close,terminate} and deprecate onstatechange

Deprecate `PresentationConnection.onstatechange` and implement explicit state transition events `onconnect`, `onclose`, `onterminate`. Implement `PresentationConnectionCloseEvent` for `onclose`. This allows us to expose a `PresentationConnectionCloseReason` for clients listening for `onclose`.


Working draft or equivalent

Status in Chromium


Enabled by default (tracking bug) in:

  • Chrome for desktop release 50
  • Chrome for Android release 50

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • Positive


Last updated on 2017-06-14