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

[presentation-api] URL schemes supported in presentation API

From: Louay Bassbouss via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Apr 2015 14:22:29 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-67606858-1428675748-sysbot+gh@w3.org>
louaybassbouss has just created a new issue for 

== 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 

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

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