W3C home > Mailing lists > Public > public-secondscreen@w3.org > November 2015

[presentation-api] define the behavior while receiver calls connection.terminate()

From: Shih-Chiang Chien via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Nov 2015 07:45:24 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-119146741-1448610319-sysbot+gh@w3.org>
schien has just created a new issue for 

== define the behavior while receiver calls connection.terminate() ==
In section 6.2.4, we only define the behavior that receiver app must 
be terminate while controlling side invokes `connection.terminate()`. 
But what should happen if receiver side invokes 

Two approaches I have in mind:

1. throw `NotSupportedError` exception because we don't allow receiver
 app to close controller app.
2. terminate receiver app itself and notify all connected controlling 
side to change state to `terminated` just like the behavior that 
`connection.terminate()` is invoked in controlling side.

Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/222 using your GitHub 
Received on Friday, 27 November 2015 07:45:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:18:59 UTC