Re: [w3c/payment-handler] Suggest changing a shape of openWindow() (#300)

It seems a little odd that the Promise for `openWindow` would resolve once the window is closed.

If it becomes important in the future to have access to the `WindowClient` for some reason, another option would be to introduce a `waitUntilClosed` or `waitForClose` method on WindowClient that returns a promise when the window is closed.

-- 
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/300#issuecomment-393544440

Received on Thursday, 31 May 2018 14:15:28 UTC