GithubHelp home page GithubHelp logo

Comments (10)

mfoltzgoogle avatar mfoltzgoogle commented on August 23, 2024

Initial versions of 7.1 - 7.4 are present in the current draft. 7.5 remains an open issue.

from presentation-api.

anssiko avatar anssiko commented on August 23, 2024

Since the initial versions of the screen availability and start/join/close session algorithms have landed, I'm renaming this issue to "Specify the presentation initialization algorithm" to focus the efforts.

from presentation-api.

anssiko avatar anssiko commented on August 23, 2024

Re the remaining open issue of the initialization algorithm, this is what we're missing:

In http://w3c.github.io/presentation-api/#starting-a-presentation-session we state:

Create a new PresentationSession S

But we do not define the steps the UA is required to take in order to "create a new presentation session". For that, we should add prose to http://w3c.github.io/presentation-api/#presentationsession, like:

When the user agent is to <dfn>create a new presentation session</dfn>, it must instantiate a new PresentationSession object, associate it with XXXX, ... any other normative requirements ..."

(We should then link to this <dfn> definition from the "Starting a presentation session" algorithm.)

I'm tagging this for F2F discussion/review.

All - PRs welcome :-)

from presentation-api.

obeletski avatar obeletski commented on August 23, 2024

Specification currently defines algorithms that are executed in an opening browsing context for startSession and joinSession methods. I believe that we are missing description of what is happening in the presenting browsing context when those methods are called.

from presentation-api.

anssiko avatar anssiko commented on August 23, 2024

@obeletski Feel free to take a stab at this. A PR, or a suggestion for the editor to be integrated into the spec would be very welcome. It does not need to be perfect as we can iterate on it.

from presentation-api.

tidoust avatar tidoust commented on August 23, 2024

PROPOSED RESOLUTION: Promise NavigatorPresentation.getSession() which resolves when the communication channel is established and rejects if the communication channel cannot be established
PROPOSED RESOLUTION: keep the "joinSession" algorithm in 6.4.2 deterministic and strike the issue note about unresolved Promises

See relevant discussion during the F2F in Berlin:
http://www.w3.org/2015/05/19-webscreens-minutes.html#item11

from presentation-api.

obeletski avatar obeletski commented on August 23, 2024

I would like to share some earlier thinking [1] about initialization of a session in presenting browser context. Even though it is out of date after F2F meeting decisions [2] we might start iterating from it.
We have other relevant issues to cover presentation side session initiation : #52 and #92.

[1] obeletski@ac9e215
[2] http://www.w3.org/2015/05/19-webscreens-minutes.html#item11

from presentation-api.

anssiko avatar anssiko commented on August 23, 2024

@obeletski I interpret your response as such that it is no objection to the proposed resolution, rather further input. I recall we discussed the merits of using a promise over hanging the session object off of NavigatorPresentation at f2f and landed on the proposed resolution due to that. That discussion was apparently was not minuted. Please let me know if you have concerns.

from presentation-api.

obeletski avatar obeletski commented on August 23, 2024

I have been doing some work on Presentation API shim that supports multiple controlling page with interface we agreed at F2F meeting. I documented created algorithms for presenting context in commit [1], WDYT?
Unfortunately make failed while generating index.html in xspecxref.py, addReferences, leaving tmp.html in working directory.

[1] obeletski@c373a81

from presentation-api.

anssiko avatar anssiko commented on August 23, 2024

@obeletski Thanks, your patch seem to build without errors. I suspect you can fix the problem on your local machine by changing your xref repo.

from presentation-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.