• 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. Navigator
  4. Navigator.locks
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility

Navigator.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 Navigator 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: Mar 31, 2022, by MDN contributors

Change your language

Related Topics

  1. Navigator
  2. Properties
    1. activeVRDisplays
    2. appCodeName
    3. appName
    4. appVersion
    5. battery
    6. buildID
    7. clipboard
    8. connection
    9. contacts
    10. cookieEnabled
    11. credentials
    12. deviceMemory
    13. doNotTrack
    14. geolocation
    15. hardwareConcurrency
    16. hid
    17. keyboard
    18. language
    19. languages
    20. locks
    21. maxTouchPoints
    22. mediaDevices
    23. mediaSession
    24. mimeTypes
    25. onLine
    26. oscpu
    27. pdfViewerEnabled
    28. permissions
    29. platform
    30. plugins
    31. product
    32. productSub
    33. serial
    34. serviceWorker
    35. storage
    36. userAgent
    37. userAgentData
    38. vendor
    39. vendorSub
    40. webdriver
    41. windowControlsOverlay
    42. xr
  3. Methods
    1. canShare()
    2. clearAppBadge()
    3. getBattery()
    4. getGamepads()
    5. getUserMedia()
    6. getVRDisplays()
    7. javaEnabled()
    8. mozIsLocallyAvailable()
    9. msLaunchUri()
    10. registerProtocolHandler()
    11. requestMediaKeySystemAccess()
    12. requestMIDIAccess()
    13. sendBeacon()
    14. setAppBadge()
    15. share()
    16. taintEnabled()
    17. vibrate()
  • 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