digital-credentials
digital-credentials copied to clipboard
Use SecurityError for document state check
trafficstars
We currently have an over-reliance on NotAllowedError (particularly in Cred Man). This makes things a bit more distinguishable (for interop testing), and lets developers know a bit more about what's going on.
The following tasks have been completed:
- [ ] Modified Web platform tests (link)
Implementation commitment:
- [ ] WebKit (link to issue)
- [ ] Chromium (link to issue)
- [ ] Gecko (link to issue)
Documentation and checks
- [ ] Affects privacy
- [ ] Affects security
- [ ] Pinged MDN
- [ ] Updated Explainer
Blocked on tests and updating implementations.
@samuelgoto, you ok with this change? If yes, I'll make them also in WebKit.
@samuelgoto, you ok with this change?
Sounds reasonable to me to be more specific than NotAllowedError.