| // Copyright 2016 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. |
| |
| // http://wicg.github.io/paymentrequest/specs/paymentrequest.html#dom-paymentresponse |
| |
| [ |
| RuntimeEnabled=PaymentRequest, |
| GarbageCollected, |
| ] interface PaymentResponse { |
| readonly attribute DOMString methodName; |
| [CallWith=ScriptState, RaisesException] readonly attribute object details; |
| |
| [CallWith=ScriptState] Promise<void> complete(boolean success); |
| }; |