Open Bug 1518123 Opened 5 years ago Updated 2 years ago

Simplify root form's listAllWorkers() by only returning fronts

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

Currently root form's listAllWorkers() merges properties from the sw registration and from the worker front. 

After Bug 1510654 lands, SW registrations will also be returned as fronts. We could use this opportunity to simplify this an only return the fronts.

I guess we could either have a client side object that keeps the two fronts and knows where to read the property depending on the status of the service worker registration (but that wouldn't be a real front).

Or we make the service worker registration actor retrieve the necessary properties on the server side, so that the sw registration front can always be used.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.