blob: 63a4e9c6c49ce4731fa53193761269a47c5c030b [file] [log] [blame]
// Copyright 2019 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://w3c.github.io/clipboard-apis/#clipboard-interface
[
Constructor(record<DOMString, Blob> items),
RaisesException=Constructor,
Exposed=Window,
RuntimeEnabled=AsyncClipboard
] interface ClipboardItem {
readonly attribute FrozenArray<DOMString> types;
[
CallWith=ScriptState
] Promise<Blob> getType(DOMString type);
};