- From: Jinho Bang <notifications@github.com>
- Date: Fri, 14 Sep 2018 03:29:56 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 September 2018 10:30:17 UTC
@rsolomakhin As far as I know, placing new APIs in `Window` object is no longer preferred. It can cause global namespace pollution and so name conflicts with JS library. For example, if someone writes a JS library for payment and defines `paymentHandler` in `Window` object, then the browser's `paymentHandler` will not work. -- 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-421312765
Received on Friday, 14 September 2018 10:30:17 UTC