Re: [web-nfc] The link to 'focus' is not appropriate (#282)

Sorry, was not clear, 
The [Security Policies from webNFC](https://w3c.github.io/web-nfc/#security-policies) second bullet point, state that it should be exposed to the top-level browsing context. I guess it translates to - 
`!To<Document>(context)->GetFrame()->IsMainFrame())`
which should exclude iframes , right ?

So yes, in that respect a bit different from sensors, which does allow iframes with Feature Policy.

-- 
GitHub Notification of comment by riju
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/282#issuecomment-519567740 using your GitHub account

Received on Thursday, 8 August 2019 15:28:35 UTC