blob: f2f85fc3412556146774e359dcf5f651bcb52961 [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,
SecureContext,
Exposed=Window
] interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
[CallWith=ScriptState] constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});
readonly attribute DOMString methodName;
[CallWith=ScriptState] readonly attribute object? methodDetails;
};