Re: [w3c/webpayments-payment-apps-api] Change from clients.openWindow to event.openWindow. (#106)

tommythorsen commented on this pull request.



> +            <li>Let <var>registration</var> be the <a>service
+            worker registration</a> corresponding to the payment
+            handler selected by the user.
+            </li>
+            <li>If <var>registration</var> is not found, reject the
+            Promise that was created by
+            <code>PaymentRequest.show()</code> with a
+            <a>DOMException</a> whose value
+            "<a>InvalidStateError</a>" and terminate these steps.
+            </li>
+            <li>Invoke the <a>Handle Functional Event</a> algorithm
+            with a <a>service worker registration</a> of
+            <var>registration</var> and <var>callbackSteps</var>
+            set to the following steps:
+              <ol>
+                <li>Set <var>global</var> to the global object that

I have no idea. Note that my PR does not actually write all of this. I merely put it inside a section and re-indent it, so that it looks a bit like I've written it. We can have a look at this in a different Issue/PR.

-- 
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/webpayments-payment-apps-api/pull/106#discussion_r107098828

Received on Tuesday, 21 March 2017 08:44:31 UTC