Skip to content

Make create() and get() abortable #537

@balfanz

Description

@balfanz

We need to make sure that create() and get() are abortable: For example, imagine a web page that gives users the ability to dismiss a dialog or popup that takes the user through an Authenticator registration or assertion-generation process. When the user dismisses that dialog or popup, the Authenticator should be notified to, say, stop blinking, callbacks waiting for the create() or get() results should be rejected, etc.

Presumably, we need to add an AbortSignal parameter to both calls to accomplish this: https://dom.spec.whatwg.org/#aborting-ongoing-activities

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions