"/background/service_worker" is not supported

Hello guys,

I use background service worker in my add-ons, but I met an error when I uploaded it to add-ons market, please check the image.

I need service worker in this add-ons, any suggestions? Thank you.

The service workers in extensions are not yet supported in Firefox, more info:

See also this proposal for defining background script in a common way that would work in all browsers:

I see, thank you so much.

@huabin, can you share more about why you you need a service worker in your add-on? As @juraj.masiar noted they aren’t yet supported in stable releases of Firefox, but we may be able to offer additional recommendations depending on what you’re trying to do.

1 Like