diff --git a/index.html b/index.html index c819164..7fd73f8 100644 --- a/index.html +++ b/index.html @@ -846,6 +846,12 @@

represented by a Promise that resolves with the presentation controllers monitor.

+

+ In a controlling browsing context, the default + presentation request, which is initially set to + null, represents the request to use when the user wishes + to initiate a presentation connection from the browser. +

@@ -870,6 +876,10 @@

Controlling user agent

+

+ Controlling user agents + MUST implement the following partial interface: +

             partial interface Presentation {
               attribute PresentationRequest? defaultRequest;
@@ -877,26 +887,10 @@ 

- In a controlling user agent, the defaultRequest attribute MUST - return the default presentation request if any, - null otherwise. In a receiving browsing - context, it MUST return null. -

-

- If set by the controller, the value of the defaultRequest attribute SHOULD be used by the - controlling user agent as the default presentation - request for that controlling browsing context. If the - the document object's active sandboxing flag set has the - sandboxed presentation browsing context flag set, the - controlling user agent SHOULD consider the default - presentation request for that browsing context to be - null. When the controlling user agent wishes to - initiate a PresentationConnection on the behalf of that - browsing context, it MUST start a presentation using the - default presentation request for the controller (as - if the controller had called defaultRequest.start()). + The defaultRequest + attribute MUST return the default presentation request if + any, null otherwise. On setting, the default + presentation request MUST be set to the new value.

The controlling user agent SHOULD initiate presentation @@ -904,9 +898,26 @@

has expressed an intention to do so via a user gesture, for example by clicking a button in the browser.

+

+ To initiate presentation using the default presentation + request, the controlling user agent MUST start a + presentation using the default presentation request (as + if the controller had called defaultRequest.start()), + skipping the first step of that algorithm. +

+
+ Subsequent security steps of the start a presentation + algorithm apply. For instance, the request will fail if the + document object's active sandboxing flag set has the + sandboxed presentation browsing context flag set. +
+

+ Support for the initiation of a presentation connection from + the browser is OPTIONAL. +

If a controlling user agent does not support initiation of a - presentation connection from the browser chrome, setting + presentation connection from the browser, setting defaultRequest will have no effect.
@@ -928,6 +939,10 @@

Receiving user agent

+

+ Receiving user agents MUST + implement the following partial interface: +

             partial interface Presentation {
               [SameObject] readonly attribute PresentationReceiver? receiver;
@@ -935,26 +950,13 @@ 

- In a receiving user agent, the receiver attribute MUST return - the PresentationReceiver instance associated - with the receiving browsing context and created by the - receiving user agent when the receiving browsing + The receiver attribute + MUST return the PresentationReceiver instance + associated with the receiving browsing context and created + by the receiving user agent when the receiving browsing context is created. In any other browsing context, it MUST return null.

-

- A user agent that is a receiving user agent but not a - controlling user agent MUST always return null - for the defaultRequest attribute. It MUST - treat setting the defaultRequest - attribute as a no-op. -

-

- A user agent that is a controlling user agent but not a - receiving user agent MUST always return null - for the receiver attribute. -