Skip to content

ScreenOrientation.unlock exceptions description inaccurate #40363

@briantbutton

Description

@briantbutton

MDN URL

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

What specific section or headline is this issue about?

Exceptions

What information was incorrect, unhelpful, or incomplete?

The Exceptions section says, "The promise may be rejected . . ."

However, no promise is returned from this method. AFAIK there are no exceptions, either.

What did you expect to see?

Remove the exceptions, I suppose.

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

No response

Do you have anything more you want to share?

I love you guys. You do great stuff. I am very glad to make a wee contribution.

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsgoal: accuracy(Experimental label) Issues about inaccurate/incorrect content.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions