• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. WorkerNavigator
  4. WorkerNavigator.locks

Table of contents

  • Value
  • Specifications
  • Browser compatibility

WorkerNavigator.locks

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The locks read-only property of the WorkerNavigator interface returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object.

Value

A LockManager object.

Specifications

Specification
Web Locks API
# dom-navigatorlocks-locks

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 2, 2022, by MDN contributors

Related Topics

  1. WorkerNavigator
  2. Properties
    1. appCodeName
    2. appName
    3. appVersion
    4. connection
    5. hardwareConcurrency
    6. language
    7. languages
    8. locks
    9. onLine
    10. permissions
    11. platform
    12. product
    13. serial
    14. storage
    15. userAgent
    16. userAgentData
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies