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

Any of those makes sense. Inventing a new error doesn't seem like a great idea.

In general error types are not a big deal on the web platform. They are only useful when your function throws multiple different errors, *and* it's important for web developers to distinguish between those error types, and react differently to them in a programmatic manner (not just logging).

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


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

Received on Monday, 30 November 2020 20:40:34 UTC