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

api.LockManager - navigator.locks not defined #21595

Closed
deniskkk opened this issue Dec 12, 2023 · 1 comment
Closed

api.LockManager - navigator.locks not defined #21595

deniskkk opened this issue Dec 12, 2023 · 1 comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@deniskkk
Copy link

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

browser support for locks

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Firefox

What did you expect to see?

navigator.locks to be defined

Did you test this? If so, how?

console.log(navigator.locks.request);

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

getting error
main.ts:5 ERROR TypeError: Cannot read properties of undefined (reading 'request')

MDN URL

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

MDN metadata

MDN page report details
  • Query: api.LockManager
  • Report started: 2023-12-11T15:30:36.946Z
@queengooborg queengooborg changed the title api.LockManager - api.LockManager - navigator.locks not defined Dec 13, 2023
@queengooborg queengooborg added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Dec 13, 2023
@queengooborg
Copy link
Contributor

This is contradictory to the results of the mdn-bcd-collector -- see https://mdn-bcd-collector.gooborg.com/tests/api/Navigator/locks. Running that test in all current versions of browsers shows that it is working as expected.

Please note that you will need a secure context to use this API.

@queengooborg queengooborg closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

No branches or pull requests

2 participants