You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make select algo reject in ancestor and descendant browsing contexts #394
The select a presentation display algorithm rejects the Promise "if there is already an unsettled Promise from a previous call to start on any PresentationRequest in the same controlling browsing context".
This is done to allow only one user prompt to select a presentation display at a time for a given tab. However, since start can be called by nested browsing contexts as well, I think "the same controlling browsing context" does not capture the notion of "tab" that we need.
First, after talking over the possibilities internally, we couldn't come up with a compelling use case for the ability to start multiple presentations across multiple related frames from the same user gesture. When we discussed multiple display support F2F, we concluded that this use case is better served by having two distinct invocations of start() behind different event handlers (Issue #40), so re-entrant use of start() should remain unsupported, even across parent/child frames.
Activity
markafoltz commentedon Dec 19, 2016
CC @imcheng
First, after talking over the possibilities internally, we couldn't come up with a compelling use case for the ability to start multiple presentations across multiple related frames from the same user gesture. When we discussed multiple display support F2F, we concluded that this use case is better served by having two distinct invocations of
start()behind different event handlers (Issue #40), so re-entrant use ofstart()should remain unsupported, even across parent/child frames.As for phrasing, your suggestion sounds fine.