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

Example unable to be used for ScreenOrientation.lock #37392

Open
danielhjacobs opened this issue Dec 28, 2024 · 0 comments
Open

Example unable to be used for ScreenOrientation.lock #37392

danielhjacobs opened this issue Dec 28, 2024 · 0 comments
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@danielhjacobs
Copy link
Contributor

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock

What specific section or headline is this issue about?

Examples

What information was incorrect, unhelpful, or incomplete?

Clicking fullscreen prints TypeError: Disallowed by permissions policy

Clicking Lock prints SecurityError: Failed to execute 'lock' on 'ScreenOrientation': The window is sandboxed and lacks the 'allow-orientation-lock' flag.

What did you expect to see?

Usable example

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@danielhjacobs danielhjacobs added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 28, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 28, 2024
@danielhjacobs danielhjacobs changed the title Example unable to be used Example unable to be used for ScreenOrientation.lock Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant