Skip to content

[Feature Request] Shared web indexedDB database without using Worker or SharedWorker #2917

@AlexDochioiu

Description

@AlexDochioiu

Is your feature request related to a problem? Please describe.
I am working on a chrome extension app (using manifest V3). This app has a background service. I want to access the same database (shared) between the foreground app of the extension and the background service.

The problem
The current implementation of shared web database uses the Worker and SharedWorker classes. Those do not exist in the context of chrome extension background service.

Can this even work
The indexedDB is shared between the extension tab and the background service. So it should be possible for both to read/write on the same database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions