Re: [w3c/payment-handler] Define CanMakePaymentEvent.respondWith() behavior (#296)

romandev commented on this pull request.



>            </p>
+          <ol class="algorithm">
+            <li>Let <var>event</var> be this <a>CanMakePaymentEvent</a>
+            instance.
+            </li>
+            <li>If <var>event</var>'s <a>isTrusted</a> attribute is false, then
+            <a>throw</a> an "<a>InvalidStateError</a>" <a>DOMException</a>.

I believe this is right. You may be confused with deprecated `InvalidAccessError`.
Am I missing something?

-- 
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-handler/pull/296#discussion_r181837898

Received on Monday, 16 April 2018 18:20:05 UTC