dom/payment/interfaces/nsINavigatorPayment.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/payment/interfaces/nsINavigatorPayment.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "domstubs.idl"
     1.9 +
    1.10 +interface nsIDOMDOMRequest;
    1.11 +
    1.12 +[scriptable, uuid(44fb7308-7d7b-4975-8a27-e01fe9623bdb)]
    1.13 +interface nsINavigatorPayment : nsISupports
    1.14 +{
    1.15 +  // The 'jwts' parameter can be either a single DOMString or an array of
    1.16 +  // DOMStrings. In both cases, it represents the base64url encoded and
    1.17 +  // digitally signed payment information. Each payment provider should
    1.18 +  // define its supported JWT format.
    1.19 +  nsIDOMDOMRequest pay(in jsval jwts);
    1.20 +};

mercurial