Service Workers
Service Workers are presently being implemented in Gecko. Biweekly calls (2015-08-12 is the next one) are held on Wednesdays at 8 AM Pacific in the WebAPI Vidyo room to discuss status and blockers for consumers. Email Andrew Overholt [:overholt] if you want to be added to the meeting invite or just show up.
Most people working on the implementation hang out in #content on IRC.
Contents
- 1 Implementation status
- 1.1 Shipping on Desktop (planned for 44) (bug 1059784)
- 1.2 Bugs we should fix to be compatible with the specification (bug 1226983)
- 1.3 Shipping on Fennec (aka Firefox for Android) (bug 1207262)
- 1.4 Refactoring for n content processes (bug 1231208)
- 1.5 Shipping for web content on Boot2Gecko (aka Firefox OS) (bug 1207265)
- 1.6 Shipping for Gaia (bug 1131322)
- 1.7 Things we likely won't get to in the first release supporting Service Workers (bug 1173500)
- 2 Demos/examples
Implementation status
Lots of code has been written and much functionality exists. There are a variety of prefs you can flip in about:config to turn them on: dom.serviceWorkers.enabled, dom.serviceWorkers.interception.enabled, etc.
Filing bugs (in Core :: DOM: Service Workers) describing problems you have is highly appreciated.
An audit of call sites where existing networking security functionality can be affected by a Service Worker's interception is underway. The results of this are filtering into Bugzilla and the remaining blockers are tracked as below.
Shipping on Desktop (planned for 44) (bug 1059784)
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Bugs we should fix to be compatible with the specification (bug 1226983)
59 Total; 59 Open (100%); 0 Resolved (0%); 0 Verified (0%);
Shipping on Fennec (aka Firefox for Android) (bug 1207262)
ID | Summary | Status | Assigned to | Resolution |
---|---|---|---|---|
1210282 | Intermittent android debug failures | NEW |
1 Total; 1 Open (100%); 0 Resolved (0%); 0 Verified (0%);
Refactoring for n content processes (bug 1231208)
8 Total; 8 Open (100%); 0 Resolved (0%); 0 Verified (0%);
Shipping for web content on Boot2Gecko (aka Firefox OS) (bug 1207265)
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Shipping for Gaia (bug 1131322)
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Things we likely won't get to in the first release supporting Service Workers (bug 1173500)
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Demos/examples
- https://azasypkin.github.io/sw-tests/permanent-redirect/
- https://jakearchibald.github.io/trained-to-thrill/ - the canonical example
- https://www.pinterest.com/ - seems to be used for Push
- https://github.com/GoogleChrome/samples/tree/gh-pages/service-worker - a number of examples here
- https://busrouter.sg/ - Only offlines its app shell and not map tiles or other data.
- https://www.parleys.com/
- https://guitar-tuner.appspot.com/