Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: add example of prompt timing out #432

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Dec 1, 2023

closes #430


Preview | Diff

@marcoscaceres
Copy link
Member Author

Pinged the folks in w3c/mediacapture-screen-share#287 to give them a chance to comment.

@eladalon1983
Copy link
Member

eladalon1983 commented Dec 1, 2023

I'm generally supportive (as per w3c/mediacapture-screen-share#287). But I'm not sure that this is editorial. Timing out does not appear to me an example of "exploring UI within this framework." In part because it's Web-exposed behavior.

Maybe replace:

User agents should be able to explore lots of UI within this framework (e.g., a permission prompt
could time out and automatically return "denied" without the user making an explicit selection).

With:

User agents should be able to explore lots of UI within this framework.
Permission prompts MAY even time out and automatically return "denied"
without the user making an explicit selection. User agents MAY employ
heuristics to automatically return "denied" if they don't believe the permission
fits the user's intention at the time.

Copy link
Member

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@miketaylr
Copy link
Member

I'm not sure that this is editorial. Timing out does not appear to me an example of "exploring UI within this framework." In part because it's Web-exposed behavior.

https://www.w3.org/TR/permissions/#prompt-the-user-to-choose step 4 covers the normative bits. You could probably argue that a timeout isn't "UI", but you could also argue it's "UX". 🤷 Seems fine to me. :)

@miketaylr miketaylr merged commit 8dd8122 into main Dec 1, 2023
2 checks passed
@miketaylr miketaylr deleted the prompt_timeout branch December 1, 2023 20:16
github-actions bot added a commit that referenced this pull request Dec 1, 2023
SHA: 8dd8122
Reason: push, by miketaylr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can 'prompt the user to choose' return deny after some implementation specific timeout?
4 participants