Skip to content

Commit

Permalink
Merge pull request #96 from w3c/url-schemes-issue-76
Browse files Browse the repository at this point in the history
Add NOTE clarifying presentation URL scheme support
  • Loading branch information
markafoltz committed Jun 1, 2015
2 parents fde12b9 + b91a3ef commit 84b8545
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
11 changes: 9 additions & 2 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
Presentation API
</title>
<style>
@media print {
@media print {
[data-anolis-spec]::after { content:"[" attr(data-anolis-spec) "]"; font-size:.6em; vertical-align:super; text-transform:uppercase }
}
</style>
<link rel="stylesheet" type="text/css" href=
"http://www.w3.org/StyleSheets/TR/W3C-[STATUS]">
<style type="text/css">
/* Note formatting taken from HTML5 spec */
/* Note formatting taken from HTML5 spec */
.note { border-left-style: solid; border-left-width: 0.25em; background: none repeat scroll 0 0 #E9FBE9; border-color: #52E052; }
.note em, .warning em, .note i, .warning i { font-style: normal; }
p.note, div.note { padding: 0.5em 2em; }
Expand Down Expand Up @@ -1168,6 +1168,13 @@ <h4>
(granting permission), or cancel the selection (denying
permission).
</p>
<p class="note">
The <code>presentationUrl</code> should name a resource accessible
to the local or a remote user agent. This specification defines
behavior for <code>presentationUrl</code> using the
<code>http</code> or <code>https</code> schemes; behavior for other
schemes is not defined by this specification.
</p>
<p class="open-issue">
ISSUE: Do we want to distinguish the permission-denied outcome from
the no-screens-available outcome? Developers would be able to infer
Expand Down
23 changes: 15 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Presentation API
</title>
<style>
@media print {
@media print {
[data-anolis-spec]::after { content:"[" attr(data-anolis-spec) "]"; font-size:.6em; vertical-align:super; text-transform:uppercase }
}
</style>
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css">
<style type="text/css">
/* Note formatting taken from HTML5 spec */
/* Note formatting taken from HTML5 spec */
.note { border-left-style: solid; border-left-width: 0.25em; background: none repeat scroll 0 0 #E9FBE9; border-color: #52E052; }
.note em, .warning em, .note i, .warning i { font-style: normal; }
p.note, div.note { padding: 0.5em 2em; }
Expand Down Expand Up @@ -78,8 +78,8 @@
<h1>
Presentation API
</h1>
<h2 class="no-num no-toc" id="editor's-draft-19-may-2015">
Editor's Draft 19 May 2015
<h2 class="no-num no-toc" id="editor's-draft-1-june-2015">
Editor's Draft 1 June 2015
</h2>
<dl>
<dt>
Expand Down Expand Up @@ -814,15 +814,15 @@ <h3 id="interface-presentationsession"><span class="secno">6.3 </span>
enum <dfn id="binarytype">BinaryType</dfn> { "blob", "arraybuffer" };

interface <dfn id="presentationsession">PresentationSession</dfn> : EventTarget {
readonly <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#idl-DOMString">DOMString</a>? <a href="#id">id</a>;
readonly <a class="external" data-anolis-spec="webidl" href="https://heycam.github.io/webidl/#idl-DOMString">DOMString</a>? <a href="#id">id</a>;
readonly attribute <a href="#presentationsessionstate">PresentationSessionState</a> <a href="#state">state</a>;
void <a href="#close">close</a>();
attribute <a class="external" data-anolis-spec="w3c-html" href="http://www.w3.org/html/wg/drafts/html/master/webappapis.html#eventhandler">EventHandler</a> <a href="#onstatechange">onstatechange</a>;

// Communication
attribute BinaryType <dfn id="binarytype-attribute" title="binarytype-attribute">binaryType</dfn>;
<a class="external" data-anolis-spec="w3c-html" href="http://www.w3.org/html/wg/drafts/html/master/webappapis.html#eventhandler">EventHandler</a> <dfn id="presentation-onmessage" title="presentation-onmessage">onmessage</dfn>;
void <dfn id="send">send</dfn> (<a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#idl-DOMString">DOMString</a> message);
void <dfn id="send">send</dfn> (<a class="external" data-anolis-spec="webidl" href="https://heycam.github.io/webidl/#idl-DOMString">DOMString</a> message);
void <dfn id="send-blob" title="send-blob">send</dfn> (<a class="external" data-anolis-spec="fileapi" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> data);
void <dfn id="send-arraybuffer" title="send-arraybuffer">send</dfn> (<a class="external" data-anolis-spec="typedarray" href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a> data);
void <dfn id="send-arraybufferview" title="send-arraybufferview">send</dfn> (<a class="external" data-anolis-spec="typedarray" href="http://www.khronos.org/registry/typedarray/specs/latest/#6">ArrayBufferView</a> data);
Expand Down Expand Up @@ -1217,6 +1217,13 @@ <h4 id="starting-a-presentation-session"><span class="secno">6.4.1 </span>
(granting permission), or cancel the selection (denying
permission).
</p>
<p class="note">
The <code>presentationUrl</code> should name a resource accessible
to the local or a remote user agent. This specification defines
behavior for <code>presentationUrl</code> using the
<code>http</code> or <code>https</code> schemes; behavior for other
schemes is not defined by this specification.
</p>
<p class="open-issue">
ISSUE: Do we want to distinguish the permission-denied outcome from
the no-screens-available outcome? Developers would be able to infer
Expand Down Expand Up @@ -1610,7 +1617,7 @@ <h2 id="references"><span class="secno">8 </span>
<dd><cite><a href="http://www.w3.org/2001/tag/doc/promises-guide">Writing Promise-Using Specifications</a></cite>, Domenic Denicola. W3C.

<dt id="refsRFC2119">[RFC2119]
<dd><cite><a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a></cite>, Scott Bradner. IETF.
<dd><cite><a href="https://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a></cite>, Scott Bradner. IETF.

<dt id="refsTYPEDARRAY">[TYPEDARRAY]
<dd><cite><a href="http://www.khronos.org/registry/typedarray/specs/latest/">Typed Array</a></cite>, David Herman and Kenneth Russel. Khronos.
Expand All @@ -1619,7 +1626,7 @@ <h2 id="references"><span class="secno">8 </span>
<dd><cite><a href="https://url.spec.whatwg.org/">URL</a></cite>, Anne van Kesteren. WHATWG.

<dt id="refsWEBIDL">[WEBIDL]
<dd><cite><a href="http://heycam.github.io/webidl/">Web IDL</a></cite>, Cameron McCormack. W3C.
<dd><cite><a href="https://heycam.github.io/webidl/">Web IDL</a></cite>, Cameron McCormack. W3C.

</dl></div>
</section>
Expand Down

0 comments on commit 84b8545

Please sign in to comment.