diff --git a/index.html b/index.html index f7f88529..70101844 100644 --- a/index.html +++ b/index.html @@ -623,6 +623,24 @@

  • Let request be the PaymentRequest object on which the method is called.
  • +
  • +

    + Optionally, if the user agent wishes to disallow the call + to show() to protect the user, then return a promise + rejected with a "SecurityError" DOMException. For + example, the user agent may require the call to be + triggered by user activation, or may limit the rate at + which a page can call show(), as described in the the + privacy considerations section. +

    +

    + Implementations are expected to experiment in this area. + Developers using the payment request API should investigate and + anticipate such experiments and understand under what + circumstances a "SecurityError" DOMException might + occur. +

    +
  • If request.[[\state]] is not "created" then return a promise rejected with an "InvalidStateError" DOMException. @@ -798,8 +816,7 @@

    DOMException.

  • Optionally, at the user agent's discretion, return a - promise rejected with a "NotAllowedError" - DOMException. + promise rejected with a "NotAllowedError" DOMException.

    This allows user agents to apply heuristics to detect and prevent abuse of the canMakePayment() method for fingerprinting @@ -2677,7 +2694,7 @@

    -
    +

    Privacy Considerations

    @@ -2754,6 +2771,10 @@

  • allowed to use
  • +
  • + triggered by + user activation +
  • in parallel