blob: df9f1f35e9adb8a2acd42eaac91edebc9c367c03 [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/payment-request/#merchantvalidationevent-interface
// https://crbug.com/867904
[
RuntimeEnabled=PaymentRequestMerchantValidationEvent,
Constructor(DOMString type, optional MerchantValidationEventInit eventInitDict),
ConstructorCallWith=ScriptState,
RaisesException=Constructor,
SecureContext,
Exposed=Window
] interface MerchantValidationEvent : Event {
readonly attribute DOMString methodName;
readonly attribute USVString validationURL;
[CallWith=ScriptState,RaisesException] void complete(Promise<any> merchantSessionPromise);
};