Re: [mediacapture-screen-share] Should pending getDisplayMedia() calls reject on sleep and/or screen-lock? (#287)

> Yes, why not? The user decided to do something, but then paused their work and came back to it later. Why should the application do something special here?

I think the UA should do something special here, not the application.
Rationale to reject:
- A user closing a laptop lead with an outstanding prompt to start X, might expect their action to implicitly reject X.
- Some operating systems (macOS) have recently introduced screen-sharing experiences that some users find non-trivial to exit (I observed a very tech-savvy and competent colleague fail to realize that the `esc` key would cancel picking). Seeing such a prompt a day late might be very confusing for such users.

> This is user agent and/or OS territory.

If all browsers happen to be aligned in their view of what should happen, it'd help compatibility to codify our agreement.

> I think the spec allows both leaving the prompt or denying after some time, which seems good.

Could you please help me locate which part does that?

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/287#issuecomment-1824055437 using your GitHub account


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

Received on Thursday, 23 November 2023 09:26:15 UTC