chromium/third_party/blink/renderer/modules/encryptedmedia/media_keys_get_status_for_policy.idl

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/hdcp-detection/

[
    ImplementedAs=MediaKeysGetStatusForPolicy,
    SecureContext
] partial interface MediaKeys {
    [Measure, CallWith=ScriptState, RaisesException] Promise<MediaKeyStatus> getStatusForPolicy(MediaKeysPolicy policy);
};