-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Generally speaking, sometimes a single user gesture indicates that the user is transitioning to a new (conceptual) state in the application, which might mean the application needs to perform multiple actions on the user's behalf. If these include more than a single activation-consuming API call, this could be a problem.
A good demonstration of this concept, as well as a one-off solution for it, is here. By clicking a button, the user indicates "I want to go to multi-window mode", which means the Web app then has to open multiple windows (which would normally be challenging because triggering a pop-up consumes activation).
More concretely, in a video-conferencing context, it might be useful to (1) trigger Document PiP in conjunction with either (2a) opening a pop-up window and/or (2b) calling requestFullscreen().
I propose that the D-PiP spec could employ a method similar to that employed by Windows Management API here to ensure that D-PiP could be triggered immediately following a successful call to either Window.open() or requestFullscreen().
Wdyt?