Re: [web-nfc] Disallow explicitly non top-level browsing contexts (#610)

@domenic The [Keyboard Lock](https://wicg.github.io/keyboard-lock/#h-keyboard-lock) and [Contact Picker](https://wicg.github.io/contact-api/spec/#contacts-manager-select) Web APIs  reject with `InvalidStateError` when the current browsing context is not a top-level browsing context.

Shall we do the same here in Web NFC for consistency with the web platform, or shall we introduce a new error type for this specific type of error?
What are your thoughts?

-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/610#issuecomment-734367029 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 26 November 2020 15:41:12 UTC