[presentation-api] URL schemes supported in presentation API

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

== URL schemes supported in presentation API ==
Presentation API addresses currently presentation of hosted web 
content (e.g. accessible via `http://` or `https://`). According to 
the spec, presentation URLs follows the [URL 
Standard](https://url.spec.whatwg.org/). Questions is: are there other
 relevant URL schemes for Presentation API? for example `data:` scheme
 can be used in the following way:

``` javascript
var presentationUrl = 'data:text/html,<!DOCTYPE 
html><html><body><p>Test</p><script>/* inline JavaScript that may use 
navigator.presentatoion.session */</script></body></html>';
var session = navigator.presentatoion.startSession(presentationUrl);
``` 

Also the `file://` protocol could be relevant for non-hosted web 
content for example for Packaged Web Application like [W3C 
Widgets](http://www.w3.org/TR/widgets/).

All relevant schemes need to be evaluated regarding limitations, 
security implications, performance etc. for usage in Presentation API.
 Also use cases to derive requirements are needed.  

 

See https://github.com/w3c/presentation-api/issues/76

Received on Friday, 10 April 2015 14:22:37 UTC