diff --git a/index.html b/index.html index 6d3f422e..bf9d1c67 100644 --- a/index.html +++ b/index.html @@ -2033,10 +2033,10 @@

  • Let event be this PaymentRequestUpdateEvent instance.
  • -
  • Let target be the value of event's +
  • Let request be the value of event's target attribute.
  • -
  • If target is not a PaymentRequest object, +
  • If request is not a PaymentRequest object, then throw a TypeError.
  • If the dispatch flag is unset, then throw an @@ -2045,11 +2045,11 @@

  • If event.[[\waitForUpdate]] is true, then throw an "InvalidStateError" DOMException.
  • -
  • If target.[[\state]] is not +
  • If request.[[\state]] is not "interactive", then throw an "InvalidStateError" DOMException.
  • -
  • If target.[[\updating]] is true, then +
  • If request.[[\updating]] is true, then throw an "InvalidStateError" DOMException.
  • Set event's stop propagation flag and stop @@ -2057,7 +2057,7 @@

  • Set event.[[\waitForUpdate]] to true.
  • -
  • Set target.[[\updating]] to true. +
  • Set request.[[\updating]] to true.
  • The user agent SHOULD disable the user interface that allows the user to accept the payment request. This is to ensure @@ -2149,7 +2149,7 @@

  • If the shippingOptions member of details is present, and - target.[[\options]].request.[[\options]].requestShipping is true, then:
      @@ -2268,7 +2268,7 @@

      total member of details is present, then:
      1. Set - target.[[\details]].total + request.[[\details]].total to details.total.
      @@ -2277,22 +2277,22 @@

      is present, then:
      1. Set - target.[[\details]].displayItems + request.[[\details]].displayItems to details.displayItems.
    1. If the shippingOptions member of details is present, and - target.[[\options]].request.[[\options]].requestShipping is true, then:
      1. Set - target.[[\details]].shippingOptions + request.[[\details]].shippingOptions to shippingOptions.
      2. -
      3. Set the value of target's Set the value of request's shippingOption attribute to selectedShippingOption.
      4. @@ -2302,22 +2302,22 @@

        present, then:
        1. Set - target.[[\details]].modifiers + request.[[\details]].modifiers to details.modifiers.
        2. Set - target.[[\serializedModifierData]] to + request.[[\serializedModifierData]] to serializedModifierData.
        -
      5. If target.[[\options]].If request.[[\options]].requestShipping is true, and - target.[[\details]].shippingOptions + request.[[\details]].shippingOptions is empty, then the developer has signified that there are no valid shipping options for the currently-chosen shipping - address (given by target's request's shippingAddress). In this case, the user agent SHOULD display an error indicating this, and MAY indicate that that the @@ -2337,10 +2337,10 @@

        1. Set event.[[\waitForUpdate]] to false.
        2. -
        3. Set target.[[\updating]] to false. +
        4. Set request.[[\updating]] to false.
        5. The user agent should update the user interface - based on any changed values in target. The user + based on any changed values in request. The user agent SHOULD re-enable user interface elements that might have been disabled in the steps above if appropriate.
        6. @@ -2355,9 +2355,9 @@

        7. Abort the current user interaction and close down any remaining user interface.
        8. -
        9. Set target.[[\state]] to "closed". +
        10. Set request.[[\state]] to "closed".
        11. -
        12. Reject the promise target.[[\acceptPromise]] +
        13. Reject the promise request.[[\acceptPromise]] with exception.
        14. Abort the algorithm.