Re: [w3c/webpayments-payment-apps-api] Change from clients.openWindow to event.openWindow. (#106)

tommythorsen commented on this pull request.



> @@ -889,6 +889,7 @@
       [Exposed=ServiceWorker]
       interface PaymentRequestEvent : ExtendableEvent {
         readonly attribute PaymentAppRequest appRequest;
+        Promise<WindowClient> openWindow(DOMString url);

>From https://heycam.github.io/webidl/#idl-USVString:
> Specifications should only use USVString for APIs that perform text processing and need a string of Unicode scalar values to operate on. Most APIs that use strings should instead be using DOMString, which does not make any interpretations of the code units in the string. When in doubt, use DOMString.

I was in doubt, so I used DOMString. What calls for USVString in this situation?

-- 
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/webpayments-payment-apps-api/pull/106#discussion_r106123627

Received on Wednesday, 15 March 2017 09:55:00 UTC