blob: 182914a5fd7b416d63391a750c28fa2878a2ae22 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://wicg.github.io/web-locks/#lock
[
SecureContext,
Exposed=(Window,Worker)
] interface Lock {
readonly attribute DOMString name;
readonly attribute LockMode mode;
};