Re: [w3c/payment-handler] Missing question mark, (#163)

@romandev What changes do you plan? From what I understand, the spec is correct in omitting the `?`. The `?` in `clients.openWindow()` is used for resolving the promise with `null` in case of mismatched origin. Our behavior is different, however. If the origin is mismatched in `PaymentRequestEvent.openWindow()`, then the promise should be rejected with `SecurityError` instead. Since `PaymentRequestEvent.openWindow` does not have a possibility of resolving the promise with `null`, then the `?` should not be used. Correct?

-- 
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/issues/163#issuecomment-305191829

Received on Wednesday, 31 May 2017 13:48:58 UTC