blob: 98e6d8452061da135c3caa64f5549d165a592ac7 [file] [log] [blame]
// Copyright 2018 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/payment-request/#paymentmethodchangeevent-interface
[
RuntimeEnabled=PaymentMethodChangeEvent,
ConstructorCallWith=ScriptState,
Constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict),
SecureContext,
Exposed=Window
] interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
readonly attribute DOMString methodName;
[CallWith=ScriptState] readonly attribute object? methodDetails;
};