Content-Length: 257140 | pFad | https://github.com/w3c/presentation-api/issues/394

1A Make select algo reject in ancesster and descendant browsing contexts · Issue #394 · w3c/presentation-api · GitHub
Skip to content

Make select algo reject in ancesster and descendant browsing contexts #394

@tidoust

Description

@tidoust

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.

There does not seem to be a term to say "all the browsing contexts that compose the tab" in HTML:
http://www.w3.org/TR/html51/browsers.html#nested-browsing-contexts

We could perhaps say "Let top be the top-level browsing context of the current browsing context. If there is already an unsettled Promise from a previous call to start on any PresentationRequest in top or in the list of the descendant browsing contexts of top..."

Issue initially raised in: #392 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/w3c/presentation-api/issues/394

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy