Re: [w3c/browser-payment-api] should .show() be user gated? (#486)

@marcoscaceres,

I don't think that code example is exactly right as active elements may not have focus. I'm also not sure that it would be correct for iframes that call `show()`, but perhaps it's correct in spirit. :)

(Note: even executing `window.top.document.hasFocus` as I'm typing this right now returns `false` yet I'm clearly viewing the tab I'm typing into.)

-- 
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/browser-payment-api/issues/486#issuecomment-292168772

Received on Thursday, 6 April 2017 13:09:03 UTC