blob: 7388579fd9320135a3d57a8a6440dd16040a1134 [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,
SecureContext,
Exposed=Window
] interface MerchantValidationEvent : Event {
[CallWith=ScriptState, RaisesException] constructor(DOMString type, optional MerchantValidationEventInit eventInitDict = {});
readonly attribute DOMString methodName;
readonly attribute USVString validationURL;
[CallWith=ScriptState,RaisesException] void complete(Promise<any> merchantSessionPromise);
};