From 9a2432067387b95aaf3fbfb266d13f6545976d07 Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Fri, 8 Apr 2016 11:06:30 +0200 Subject: [PATCH 1/5] Update paymentrequest.html --- specs/paymentrequest.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 7d269907..eb4505c7 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -500,14 +500,14 @@

show()

abort()

The abort method may be called if the web page wishes to abort the payment - request after the show method has been called and before the [[\acceptPromise]] + request after the show method has been called and before the request[[\acceptPromise]] has been resolved.

The abort method MUST act as follows:

    -
  1. If the value of [[\state]] is not interactive then +
  2. If the value of request[[\state]] is not interactive then throw an InvalidStateError.
  3. -
  4. Set the value of the internal slot [[\state]] to closed.
  5. +
  6. Set the value of the internal slot request[[\state]] to closed.
  7. Return from the method and asynchronously perform the remaining steps.
  8. Abort the current user interaction and close down any remaining user interface
From ba36767f19ca04b05460a6edc4e6eb31f0e63382 Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Fri, 8 Apr 2016 11:13:52 +0200 Subject: [PATCH 2/5] remove dublicate "the" --- specs/paymentrequest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index eb4505c7..22d6d7e7 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -710,7 +710,7 @@

PaymentOptions dictionary

a shipping address as part of the payment request. For example, this would be set to true when physical goods need to be shipped by the merchant to the user. This would be set to false for an online-only electronic purchase transaction. - If this value is not supplied then the the PaymentRequest behaves as + If this value is not supplied then the PaymentRequest behaves as if a value of false had been supplied. From fe174063842821a044a3539bb927a0f703209c09 Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Fri, 8 Apr 2016 11:20:18 +0200 Subject: [PATCH 3/5] remove extra "the" --- specs/paymentrequest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 22d6d7e7..0049920d 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -1175,7 +1175,7 @@

User accepts the payment request algorithm

  • If request@[[\state]] is not interactive and - the not delegated, then terminate this algorithm and take no further action. + not delegated, then terminate this algorithm and take no further action. The user agent user interface should ensure that this never occurs.
  • From 2a8ad9858f63b80cfdd3fd5e092adff8e1f48dec Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Sun, 10 Apr 2016 16:38:47 +0200 Subject: [PATCH 4/5] Update paymentrequest.html --- specs/paymentrequest.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 0049920d..adcc98b8 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -500,14 +500,14 @@

    show()

    abort()

    The abort method may be called if the web page wishes to abort the payment - request after the show method has been called and before the request[[\acceptPromise]] + request after the show method has been called and before the request@[[\acceptPromise]] has been resolved.

    The abort method MUST act as follows:

      -
    1. If the value of request[[\state]] is not interactive then +
    2. If the value of request@[[\state]] is not interactive then throw an InvalidStateError.
    3. -
    4. Set the value of the internal slot request[[\state]] to closed.
    5. +
    6. Set the value of the internal slot request@[[\state]] to closed.
    7. Return from the method and asynchronously perform the remaining steps.
    8. Abort the current user interaction and close down any remaining user interface
    From ca8be706bdd0334ba49d85ff82f4fd8c69e21268 Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Tue, 19 Apr 2016 12:57:50 +0200 Subject: [PATCH 5/5] Update paymentrequest.html --- specs/paymentrequest.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index adcc98b8..6c5f860c 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -500,11 +500,14 @@

    show()

    abort()

    The abort method may be called if the web page wishes to abort the payment - request after the show method has been called and before the request@[[\acceptPromise]] + request after the show method has been called and before the request@[[\acceptPromise]] has been resolved.

    The abort method MUST act as follows:

      +
    1. + Let request be the PaymentRequest object on which the method is called.. +
    2. If the value of request@[[\state]] is not interactive then throw an InvalidStateError.
    3. Set the value of the internal slot request@[[\state]] to closed.