[presentation-api] define the detailed behavior of disable Presentation API in sandbox

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

== define the detailed behavior of disable Presentation API in sandbox
 ==
In current spec it only says:
```
Presentation is disabled in a browsing context when the document 
object's active sandboxing flag set does not have the sandboxed 
presentation browsing context flag set. 
```

There are two entry points of Presentation API for controller.
1. navigator.presentation: we can return `null` if Presentation API is
 disabled in sandbox.
2. window.PresentationRequest: we can either throw a 
`InvalidAccessError` while constructing PresentationRequest or hind 
PresentationRequest from window object.

Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/288 using your GitHub 
account

Received on Friday, 29 April 2016 03:13:14 UTC