Re: [presentation-api] Add support for allowing same-screen display (#479)

Yes, your understanding is correct.

I don't think `window.open()` + `requestFullscreen()` would typically work as user activation is not preserved across `window.open()` calls (it's been a while since I tested this so perhaps this has changed, or is open for debate).

Window Placement looks like it would suffice in terms of being able to achieve the end result. Prior to that, I don't believe there was any way to detect this particular scenario.

I believe one goal that wouldn't be satisfied by Window Placement would be that the webpage must maintain separate codepaths. Whereas a window.open solution would probably postMessage between opener/opened window, the flow for successfully using Presentation API would use PresentationConnection.send. Similarly, monitoring disconnection/window closing would require different code. 

-- 
GitHub Notification of comment by dlibby-
Please view or discuss this issue at https://github.com/w3c/presentation-api/pull/479#issuecomment-705259347 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 8 October 2020 00:18:37 UTC