Skip to content

ServiceWorker: allow for a network mediator per origin #26100

@gterzian

Description

@gterzian

Mirror problem of #15217

Currently the CoreResourceManager only has one swmanager_chan, which means that starting multiple ServiceWorkerManager will overwrite previous values and only the last one will work as a network mediator.

self.resource_manager.swmanager_chan = Some(mediator_chan)

Instead, the CoreResourceManager should own a map of ImmutableOrigin -> Option<IpcSender<CustomResponseMediator>>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions