-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi,
When using self.trigger("fetch", request)
in service-worker-mock we can only pass the request to the listener while in real browser the fetch callback also receives a clientId in the event.
Is it possible to add this ?
I think this should be in the utils/eventHandler.js file.
We could add a third argument to the trigger
function that will be deconstruct in the callback event objet.
I mean self.trigger("fetch", request, {clientId: 123})
Thank you
Metadata
Metadata
Assignees
Labels
No labels