Skip to content

Implement Service Workers API #11091

Open

Description

@creativcoder

Note: This is assigned to myself.

This is a meta issue tracker for the Service Worker Infrastructure project.
The following interfaces of the Service Workers Api, needs to be implemented.

ServiceWorker
ServiceWorkerGlobalScope
ServiceWorkerRegistration
ServiceWorkerContainer

The related PR's will be referenced here.

Activity

  1. added
    A-content/dom
    C-assigned
    on May 9, 2016
  2. added 4 commits that reference this issue on Jun 1, 2016
    c0311c3
    9eb1f1e
    4bb912c
    cc017fc
  3. added 2 commits that reference this issue on Jul 12, 2016
  4. sendilkumarn commented on Mar 7, 2017

    @sendilkumarn
    Contributor

    Things like using no-cache by default were not implemented yet is it ? I would be more than happy to contribute things based on spec changes.

  5. jdm commented on Mar 7, 2017

    @jdm
    Member

    Some will be more relevant than others. The code that fetches scripts is very primitive at the moment.

  6. sendilkumarn commented on Mar 7, 2017

    @sendilkumarn
    Contributor

    agree to that. Let me know, if there is something in specific that I can start with.

  7. CYBAI commented on Aug 29, 2017

    @CYBAI
    Member

    Hi @jdm

    I'm curious that if there's any features not implemented yet related to ServiceWorker.
    There're still some checkbox not checked in the description in this issue but I saw there're some PRs related to ServiceWorker merged from @creativcoder 's repo for gsoc16.
    If there's any, I'd like to contribute for it 😄

    Thanks!

  8. creativcoder commented on Aug 29, 2017

    @creativcoder
    ContributorAuthor

    Hi @CYBAI There is a lot left :) The last part which i was working on is the Update algorithm. You can start there if you want, (though i still have it on my local and plan on updating it)

    But before we implement it i think;
    The parts that you can start with are updating the existing definitions of service worker related structs (ServiceWorkerRegistration, ServiceWorker and ServiceWorkerContainer), as the spec has changed a lot, and it would be better if we reflect the spec updates to already existing structs and some smaller api's around it, to faciliate implementation of spec compliant lifecycle methods.

    @jdm would provide more context on this

  9. CYBAI commented on Aug 29, 2017

    @CYBAI
    Member

    Hi @creativcoder

    Thanks for you reply!
    I'm very interested in whole ServiceWorker structs. If I can, I'd like to check the current structs related to ServiceWorker in Servo, and update them with new spec.
    I'm looking forward to hearing @jdm 's and your advices 😄
    Thanks!

  10. added
    A-workers
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domA-workersC-assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions