// Copyright 2017 The Chromium Authors
// 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-handler/#the-canmakepaymentevent
[
RuntimeEnabled=PaymentApp,
Exposed=ServiceWorker
] interface CanMakePaymentEvent : ExtendableEvent {
constructor(DOMString type, CanMakePaymentEventInit eventInitDict);
[CallWith=ScriptState, RaisesException] void respondWith(Promise<boolean> canMakePaymentResponse);
};