// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[RuntimeEnabled=PermissionElement, Exposed=Window]
interface HTMLPermissionElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute DOMString type;
readonly attribute boolean isValid;
readonly attribute DOMString invalidReason;
attribute EventHandler onresolve;
attribute EventHandler ondismiss;
attribute EventHandler onvalidationstatuschange;
};