From f2f8ba4e9498e85687b32cab53a72900e3284c89 Mon Sep 17 00:00:00 2001 From: Danyao Wang Date: Thu, 18 Jul 2019 18:43:15 -0400 Subject: [PATCH] Remove requirement to reject after document is inactive --- index.html | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index 36cb547f..0d9e1354 100644 --- a/index.html +++ b/index.html @@ -1234,9 +1234,6 @@

  • Set |request|'s payment-relevant browsing context's payment request is showing boolean to false.
  • -
  • Reject |acceptPromise| with an "AbortError" - DOMException. -
  • @@ -3172,20 +3169,19 @@

    affords the end user the ability to retry accepting the payment request. -
  • If - |document| stops being fully active while the user interface - is being shown, or no longer is by the time this step is reached, - then: +
  • + If + |document| stops being fully active while the user interface + is being shown, or no longer is by the time this step is reached, + then: +
    1. Close down the user interface.
    2. Set |request|'s payment-relevant browsing context's payment request is showing boolean to false.
    3. -
    4. Reject |retryPromise| with an "AbortError" - DOMException. -
  • Finally, when |retryPromise| settles, set @@ -3490,9 +3486,6 @@

  • Set |request|'s payment-relevant browsing context's payment request is showing boolean to false.
  • -
  • Reject |promise| with an "AbortError" - DOMException. -
  • Otherwise: