From f347e0fc9f1a3256d854e0ed438e1ae5d72d6c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Daoust?=
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 chrome.
+
defaultRequest
attribute MUST
return the default presentation request if any,
- null
otherwise. In a receiving browsing
- context, it MUST return null
.
+ null
otherwise. On setting, the default
+ presentation request MUST be set to the new value.
- 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()
).
+ In a user agent that is a receiving user agent but not a
+ controlling user agent, the defaultRequest attribute MUST always return
+ null
, and setting the defaultRequest attribute MUST be treated as a
+ no-op.
The controlling user agent SHOULD initiate presentation @@ -904,6 +903,23 @@
+ 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.
+
+ Support for the initiation of a presentation connection from + the browser chrome is OPTIONAL. +
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
From 7a491a15bf5b636beba5ba8d62954994b9178c21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Daoust?=
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 chrome.
+ to initiate a presentation connection from the browser.
+ Controlling user agents + MUST implement the following partial interface: +
partial interface Presentation { attribute PresentationRequest? defaultRequest; @@ -883,20 +887,11 @@
- In a controlling user agent, the defaultRequest
attribute MUST
- return the default presentation request if any,
- null
otherwise. On setting, the default
+ 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.
- In a user agent that is a receiving user agent but not a
- controlling user agent, the defaultRequest attribute MUST always return
- null
, and setting the defaultRequest attribute MUST be treated as a
- no-op.
-
The controlling user agent SHOULD initiate presentation using the default presentation request only when the user @@ -918,11 +913,11 @@
Support for the initiation of a presentation connection from - the browser chrome is OPTIONAL. + the browser is OPTIONAL.
defaultRequest
will have no effect.
+ Receiving user agents MUST + implement the following partial interface: +
partial interface Presentation { [SameObject] readonly attribute PresentationReceiver? receiver; @@ -951,19 +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 controlling user agent but not a
- receiving user agent MUST always return null
- for the receiver attribute.
-