Re: [w3c/payment-request] Editorial: PaymentRequestUpdateEvent ctor algo (#674)

domenic requested changes on this pull request.



> +          </h3>
+          <p data-tests=
+          "payment-request-update-event-constructor.https.html, payment-request-update-event-constructor.http.html">
+            The <a data-lt=
+            "PaymentRequestUpdateEvent"><code>PaymentRequestUpdateEvent(<var>type</var>,
+            <var>eventInitDict</var>)</code></a> constructor MUST act as
+            follows:
+          </p>
+          <ol class="algorithm">
+            <li>Let <var>event</var> be the result of <a data-cite=
+            "DOM#concept-event-constructor">constructing</a> a
+            <a>PaymentRequestUpdateEvent</a> instance with <var>type</var> and
+            <var>eventInitDict</var>.
+            </li>
+            <li>Set <var>event</var>.<a>[[\waitForUpdate]]</a> to false.
+            </li>

You have to return _event_ :)

-- 
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/674#pullrequestreview-91063664

Received on Wednesday, 24 January 2018 04:42:31 UTC