Re: [w3c/payment-handler] Return null after the window is opened instead of reject with 'SecurityError' (#202)

Ah, sorry for confusing. I meant step 6:
"If url's origin is not the same as the service worker's origin associated with the payment handler, return a Promise rejected with a SecurityError."

IMHO, for consistency, we should resolve null instead of rejecting with SecurityError.

-- 
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/202#issuecomment-321937496

Received on Friday, 11 August 2017 23:07:59 UTC