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

Unclear: NotReadableError #14

Open
eladalon1983 opened this issue Mar 16, 2022 · 0 comments
Open

Unclear: NotReadableError #14

eladalon1983 opened this issue Mar 16, 2022 · 0 comments

Comments

@eladalon1983
Copy link
Member

eladalon1983 commented Mar 16, 2022

The spec reads:

If the user grants permission but a hardware error such as an OS/program/webpage lock prevents access, reject p with a new DOMException object whose name attribute has the value NotReadableError and abort these steps.

It is unclear to me what this safeguards against.

  • "OS access prevention" seems unlikely. Will implementations really be capturing the entire screen/window using OS-level APIs and cropping? That would potentially run into the problem of partial transparency, mentioned later in the doc.
  • "Program access prevention" - unclear to me. What does it mean?
  • "webpage lock" - Do you mean a lock similar to that preventing screenshots?
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

No branches or pull requests

1 participant