PresentationConnectionClosedEvent

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

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

Properties

PresentationConnectionClosedEvent.error
The mechanism for connecting or communicating with a presentation entered an unrecoverable error.
PresentationConnectionClosedEvent.closed
Either the controlling browsing context, or the receiving browsing context, connected by the PresentationConnection called close().
PresentationConnectionClosedEvent.wentaway
The browser closed the connection, for example, the browsing context that owned the connection navigated away 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.

文档标签和贡献者