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
Should we specify that we do the same for methods that hang from PublicKeyCredential (isuvpaa, iscma, signal*, get client capabilities)? Chrome will throw if the document is not fully-active for methods that return a promise. For signal*, we won't change this behaviour: signal* methods may result in UI, and we need a document to attach that UI to. isuvpaa, iscma, and get client capabilities I could see us going either way, but honestly there's no reason to call these from a detached document.
Let's standardize this behaviour and reject for non-fully active documents.
The text was updated successfully, but these errors were encountered:
Additionally: if the document becomes non-fully active, the request should be rejected. But perhaps conditional UI requests should be restarted silently instead?
(It was pointed out to me that choosing InvalidStateError on credman was a mistake since that conflicts with the exclude list error for make credential. Tracking changing that here: w3c/webappsec-credential-management#266.)
Documents become non-fully active after they are navigated away.
The Credential Management specification rejects promises returned by
navigator.create
andnavigator.get
withInvalidStateError
if the document is not fully active.Should we specify that we do the same for methods that hang from
PublicKeyCredential
(isuvpaa, iscma, signal*, get client capabilities)? Chrome will throw if the document is not fully-active for methods that return a promise. For signal*, we won't change this behaviour: signal* methods may result in UI, and we need a document to attach that UI to. isuvpaa, iscma, and get client capabilities I could see us going either way, but honestly there's no reason to call these from a detached document.Let's standardize this behaviour and reject for non-fully active documents.
The text was updated successfully, but these errors were encountered: