WorkerNavigator:locks 属性
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2022.
备注: 此特性仅在 Web Worker 中可用。
WorkerNavigator
接口的 locks
只读属性返回一个 LockManager
对象,该对象提供了请求新的 Lock
对象和查询现有的 Lock
对象的方法。
值
一个 LockManager
对象。
规范
Specification |
---|
Web Locks API # dom-navigatorlocks-locks |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
locks |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.