Skip to content

Behavior in browser extensions #38

Open
@AlexITC

Description

@AlexITC

I maintain a plugin and a template to create browser extensions with Scala.js.

I'm interested to push the macrotask-executor to these repos but I still don't understand the differences.

For example, in a browser extension, there are different contexts (like different applications composing the browser extension), some of them being:

  • A background context, which is usually always live, which has some similarities to a service worker.
  • Several UI contexts, which can be in the web pages where the extensions are injected, or, the UI you see when clicking the launching an extension by clicking its toolbar icon.

The UI contexts behave just like any normal web page, hence, the macrotask-executor should be useful, on the other hand, I wonder if the macrotask executor is useful for the background context.

Thanks.

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