Re: [w3c/payment-request] Check doc fully active during response.complete() (#748)

domenic approved this pull request.



> -          MAY use the value <var>result</var> to influence the user experience.
+          <li>If <var>document</var> stops being <a data-cite=
+          "!HTML#fully-active">fully active</a> while the user interface is
+          being shown, or no longer is by the time this step is reached, then:
+            <ol>
+              <li>Close down the user interface.
+              </li>
+              <li>Set the <a>user agent</a>'s <a>payment request is showing</a>
+              boolean to false.
+              </li>
+              <li>Reject <var>promise</var> with an "<a>AbortError</a>"
+              <a>DOMException</a>.
+              </li>
+            </ol>
+          </li>
+          <li>Otherwise, close down any remaining user interface. The <a>user

Maybe all three of these steps should be under "otherwise"? Doesn't actually have normative impact, but seems cleaner.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/748#pullrequestreview-135579628

Received on Monday, 9 July 2018 20:30:04 UTC