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

schien has just created a new issue for 
https://github.com/w3c/presentation-api:

== 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 
`connection.terminate()`?

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 
account

Received on Friday, 27 November 2015 07:45:27 UTC