You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For existing features where policy control is being retrofitted, the current guidance (in integration.md) is
Existing web platform features which already have some mechanism for reporting errors, or signalling that the user chose not to grant permission, should use those existing mechanisms when disabled.
The goal there being to not break existing content by introducing a new failure mode, but instead have policy violations caught by existing error-handling code.
For new APIs, it's a different situation, for sure. We could provide some guidance, probably for both exception-based and promise-based APIs.
I'm wonder if the spec should provide some guidance on kind of DOM exception should be thrown?... we've got specs throwing:
The text was updated successfully, but these errors were encountered: