|
97 | 97 | 'YouTube'
|
98 | 98 | ],
|
99 | 99 | publisher: 'Netflix'
|
| 100 | + }, |
| 101 | + WEBIDL: { |
| 102 | + title: 'Web IDL (Second Edition)', |
| 103 | + href: 'https://heycam.github.io/webidl/', |
| 104 | + status: 'ED', |
| 105 | + authors: [ |
| 106 | + 'Cameron McCormack', |
| 107 | + 'Boris Zbarsky' |
| 108 | + ] |
100 | 109 | }
|
101 | 110 | },
|
102 | 111 | issueBase: "https://www.github.com/w3c/presentation-api/issues/"
|
|
143 | 152 | </p>
|
144 | 153 | </section>
|
145 | 154 | <section id="sotd">
|
146 |
| - <p> |
| 155 | + <p> |
147 | 156 | Since publication as Working Draft on <a href=
|
148 | 157 | "https://www.w3.org/TR/2016/WD-presentation-api-20160211/">11 February
|
149 | 158 | 2016</a>, the Working Group has further refined some of the procedures,
|
@@ -356,37 +365,45 @@ <h2>
|
356 | 365 | ([[!WEBIDL]]). The terms <dfn><a href=
|
357 | 366 | "https://heycam.github.io/webidl/#idl-promise">Promise</a></dfn>,
|
358 | 367 | <dfn><a href=
|
359 |
| - "http://heycam.github.io/webidl/#idl-ArrayBuffer">ArrayBuffer</a></dfn>, |
| 368 | + "https://heycam.github.io/webidl/#idl-ArrayBuffer">ArrayBuffer</a></dfn>, |
360 | 369 | <dfn><a href=
|
361 |
| - "http://heycam.github.io/webidl/#idl-ArrayBufferView">ArrayBufferView</a></dfn> |
| 370 | + "https://heycam.github.io/webidl/#idl-ArrayBufferView">ArrayBufferView</a></dfn> |
362 | 371 | are defined in [[!WEBIDL]].
|
363 | 372 | </p>
|
364 | 373 | <p>
|
365 |
| - The <dfn>term</dfn> throw in this specification is used as defined in |
366 |
| - [[!WEBIDL]]. The following exception names are defined by WebIDL and |
367 |
| - used by this specification: |
| 374 | + The term <dfn><a href= |
| 375 | + "https://heycam.github.io/webidl/#dfn-throw">throw</a></dfn> in this |
| 376 | + specification is used as defined in [[!WEBIDL]]. The following |
| 377 | + exception names are defined by WebIDL and used by this specification: |
368 | 378 | </p>
|
369 | 379 | <ul>
|
370 | 380 | <li>
|
371 |
| - <dfn><code>NotAllowedError</code></dfn> |
| 381 | + <dfn><code><a href= |
| 382 | + "https://heycam.github.io/webidl/#notallowederror">NotAllowedError</a></code></dfn> |
372 | 383 | </li>
|
373 | 384 | <li>
|
374 |
| - <dfn><code>InvalidAccessError</code></dfn> |
| 385 | + <dfn><code><a href= |
| 386 | + "https://heycam.github.io/webidl/#invalidaccesserror">InvalidAccessError</a></code></dfn> |
375 | 387 | </li>
|
376 | 388 | <li>
|
377 |
| - <dfn><code>NotFoundError</code></dfn> |
| 389 | + <dfn><code><a href= |
| 390 | + "https://heycam.github.io/webidl/#notfounderror">NotFoundError</a></code></dfn> |
378 | 391 | </li>
|
379 | 392 | <li>
|
380 |
| - <dfn><code>NotSupportedError</code></dfn> |
| 393 | + <dfn><code><a href= |
| 394 | + "https://heycam.github.io/webidl/#notsupportederror">NotSupportedError</a></code></dfn> |
381 | 395 | </li>
|
382 | 396 | <li>
|
383 |
| - <dfn><code>OperationError</code></dfn> |
| 397 | + <dfn><code><a href= |
| 398 | + "https://heycam.github.io/webidl/#operationerror">OperationError</a></code></dfn> |
384 | 399 | </li>
|
385 | 400 | <li>
|
386 |
| - <dfn><code>SecurityError</code></dfn> |
| 401 | + <dfn><code><a href= |
| 402 | + "https://heycam.github.io/webidl/#securityerror">SecurityError</a></code></dfn> |
387 | 403 | </li>
|
388 | 404 | <li>
|
389 |
| - <dfn><code>SyntaxError</code></dfn> |
| 405 | + <dfn><code><a href= |
| 406 | + "https://heycam.github.io/webidl/#syntaxerror">SyntaxError</a></code></dfn> |
390 | 407 | </li>
|
391 | 408 | </ul>
|
392 | 409 | <p>
|
|
944 | 961 | by the entry <a>settings object</a>, and let
|
945 | 962 | <var>presentationUrl</var> be the resulting absolute URL, if any.
|
946 | 963 | </li>
|
947 |
| - <li>If the resolve a URL algorithm failed, then throw a |
948 |
| - <a>SyntaxError</a> exception and abort the remaining steps. |
| 964 | + <li>If the resolve a URL algorithm failed, then <a>throw</a> a <a> |
| 965 | + SyntaxError</a> exception and abort the remaining steps. |
949 | 966 | </li>
|
950 | 967 | <li>Construct a new <code>PresentationRequest</code> object with
|
951 | 968 | <var>presentationUrl</var> as the constructor argument and return
|
@@ -990,8 +1007,8 @@ <h4>
|
990 | 1007 | </li>
|
991 | 1008 | <li>If the result of the algorithm is <code>"Prohibits Mixed
|
992 | 1009 | Security Contexts"</code> and <var>presentationUrl</var> is an <a>
|
993 |
| - a priori unauthenticated URL</a>, then return a <a>Promise</a> |
994 |
| - rejected with a <a>SecurityError</a> and abort these steps. |
| 1010 | + a priori unauthenticated URL</a>, then return a <a>Promise</a> |
| 1011 | + rejected with a <a>SecurityError</a> and abort these steps. |
995 | 1012 | </li>
|
996 | 1013 | <li>If the document object's <a>active sandboxing flag set</a> has
|
997 | 1014 | the <a>sandboxed presentation browsing context flag</a> set, then
|
@@ -1418,18 +1435,19 @@ <h4>
|
1418 | 1435 | <ol>
|
1419 | 1436 | <li>If one of the following conditions is true:
|
1420 | 1437 | <ul>
|
1421 |
| - <li>The result of running the <a>prohibits mixed security |
| 1438 | + <li>The result of running the <a>prohibits mixed security |
1422 | 1439 | contexts algorithm</a> on the document's <a>settings object</a>
|
1423 |
| - is <code>"Prohibits Mixed Security Contexts"</code> and <var> |
1424 |
| - presentationUrl</var> is an <a>a priori unauthenticated URL</a>. |
| 1440 | + is <code>"Prohibits Mixed Security Contexts"</code> and |
| 1441 | + <var>presentationUrl</var> is an <a>a priori unauthenticated |
| 1442 | + URL</a>. |
1425 | 1443 | </li>
|
1426 | 1444 | <li>The document object's <a>active sandboxing flag set</a> has
|
1427 | 1445 | the <a>sandboxed presentation browsing context flag</a> set.
|
1428 | 1446 | </li>
|
1429 |
| - </ul> |
1430 |
| - Run the following substeps: |
| 1447 | + </ul>Run the following substeps: |
1431 | 1448 | <ol>
|
1432 |
| - <li>Return a <a>Promise</a> rejected with a <a>SecurityError</a>. |
| 1449 | + <li>Return a <a>Promise</a> rejected with a |
| 1450 | + <a>SecurityError</a>. |
1433 | 1451 | </li>
|
1434 | 1452 | <li>Abort these steps.
|
1435 | 1453 | </li>
|
@@ -1845,8 +1863,8 @@ <h4>
|
1845 | 1863 | <ol link-for="PresentationConnection">
|
1846 | 1864 | <li>If the <a>state</a> property of
|
1847 | 1865 | <var>presentationConnection</var> is not <a for=
|
1848 |
| - "PresentationConnectionState">connected</a>, throw an |
1849 |
| - <code>InvalidStateError</code> exception. |
| 1866 | + "PresentationConnectionState">connected</a>, <a>throw</a> an <code> |
| 1867 | + InvalidStateError</code> exception. |
1850 | 1868 | </li>
|
1851 | 1869 | <li>If the <a>closing procedure</a> of
|
1852 | 1870 | <var>presentationConnection</var> has started, then abort these
|
|
0 commit comments