Re: [presentation-api] Allow page to designate a default presentation URL

>From mfoltz:

> The |defaultsessionstart| event should only be fired on the top 
level frame/document in a given page.
> If there are multiple <frames> declaring default presentations, 
there is no easy way for the user 
> agent to disambiguate the user intent to initiate presentation.

I think this is mostly a UI issue we should leave for the UAs to 
solve. The spec may mention it but leave it to the implementors to 
decide what to do (e.g. one could show a list of DPUs available and 
ask user to pick one).

> If the |defaultsessionstart| event handler is attached to the 
|navigator| object, how do we ensure
> that only the frame that declared the <link> tags gets access the 
session?

Well, there might me more than one frame / page that declared the same
 DPU. It seems right to notify all of them; the page may ignore the 
event if its document is not in focus.

-- 
GitHub Notif of comment by avayvod
See 
https://github.com/w3c/presentation-api/issues/26#issuecomment-78969629

Received on Friday, 13 March 2015 13:28:31 UTC