// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/eyedropper-api/blob/main/README.md
[
Exposed=Window,
SecureContext,
RuntimeEnabled=EyeDropperAPI
] interface EyeDropper {
[CallWith=ExecutionContext] constructor();
[CallWith=ScriptState, RaisesException, MeasureAs=EyeDropperOpen] Promise<ColorSelectionResult> open(
optional ColorSelectionOptions options = {});
};