WebAPI/PresentationAPI

From MozillaWiki
< WebAPI
Revision as of 03:01, 19 January 2015 by Mchen (talk | contribs) (Created page with "== Goals == == Use case == === Considered Use Cases on Version landing to FxOS V3.0 === (Controlling page will be called CP and presenting page be PP) * One CP to one PP **...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Goals

Use case

Considered Use Cases on Version landing to FxOS V3.0

(Controlling page will be called CP and presenting page be PP)

  • One CP to one PP
    • CP: requestSession(URL1, ID1) -> CP: there is no devices discovered yet.
    • CP: requestSession(URL1, ID1) -> CP: user cancels the selection from devices list.
  • One controlling page to multiple presenting page
    • CP: requestSession(URL1, ID1) to device 1 -> PP1: page is presented -> CP: requestSession(URL1, ID1) to device 2 -> PP1: page is closed or session state is changed -> PP2: page is presented.

Not Considered Use Cases Yet

  • One presenting page can accept multiple sessions from controlling pages.
  • (FxOS) The same WebApp can be requested multiple times as multiple instances in presenting side.

Proposal