Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PresentationConnectionClosedEvent

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

A PresentationConnectionClosedEvent is fired when a presentation connection enters a closed state. The reason attribute provides the reason why the connection was closed.

Properties

PresentationConnectionClosedEvent.error
means that the mechanism for connecting or communicating with a presentation entered an unrecoverable error.
PresentationConnectionClosedEvent.closed
means that either the controlling browsing context or the receiving browsing context that were connected by the PresentationConnection called close().
PresentationConnectionClosedEvent.wentaway
means that the browser closed the connection, for example, because the browsing context that owned the connection navigated or was discarded.

When the reason attribute is error, the user agent SHOULD set the error message to a human readable description of how the communication channel encountered an error.

Document Tags and Contributors

 Contributors to this page: MashKao
 Last updated by: MashKao,