Skip to content

Consider not running internal methods in parallel or add "consumes user activation" to registry? #243

@marcoscaceres

Description

@marcoscaceres

It might be good to consider not running the internal methods in parallel, and allowing them to be called with a promise.

The problem is that the Cred Man is having to account for main thread behavior (e.g., permission policy checks) that ought to be potentially left to other specs.

Another situation where this has come up is with consuming the user action, which should be done on the main thread.

We could, however, make a hard determination that calling .get() (and possibly other methods, if they show UI... like maybe .create()) should consume the user activation.

Alternative, we add another column to the registry table for "consumes user activation?", and we add true/false values to that column (least amount of work... but again brings baggage from other specs into Cred Man... which may be ok)

@nsatragno, how would you prefer we proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions