The docs are not strictly incorrect — it is supported, but behind a pref. I’ve 
updated the note below the compat table to make it more explicit, and explain 
how to turn on the prefs:

https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API#Browser_compatibility

HTH,

Chris

> On 23 Sep 2015, at 20:27, Prateek Jadhwani <[email protected]> wrote:
> 
> Thanks Ben, That definitely helps. 
> Based on that bug list, i believe the Browser Compatibility section should be 
> updated in the docs as well :'(
> 
> 
> On Wednesday, September 23, 2015 at 3:01:31 PM UTC-4, Ben Kelly wrote:
>> Hi Prateek,
>> 
>> Service workers are a high priority for firefox os, but currently there are 
>> some known issues on the platform.  Because of this service workers are 
>> currently disabled by default.
>> 
>> The main issue blocking us from enabling it is:
>> 
>>   https://bugzilla.mozilla.org/show_bug.cgi?id=1125961
>> 
>> The full list of bugs we want to fix for firefox os are listed here:
>> 
>>   https://bugzilla.mozilla.org/show_bug.cgi?id=ServiceWorkers-v2
>> 
>> Hope that helps.
>> 
>> Ben
>> 
>> 
>> 
>> On Wed, Sep 23, 2015 at 2:42 PM, Prateek Jadhwani <[email protected]> 
>> wrote:
>> Hi Guys,
>> 
>> 
>> 
>> I wanted to know if serviceWorkers are implemented in ffos. I have an app 
>> that is using serviceWorker that runs fine on firefox nightly and chrome. 
>> But the ffos phone debugging shows me that the serviceWorker is undefined.
>> 
>> 
>> 
>> https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API shows 
>> that they should be available in ffos, but apparently i dont see it. I am 
>> using Boot2Gecko 2.5.0.0-prerelease on aries.
>> 
>> 
>> 
>> Can anyone confirm if this is happening elsewhere problem?
>> 
>> 
>> 
>> Thanks
>> 
>> _______________________________________________
>> 
>> dev-fxos mailing list
>> 
>> [email protected]
>> 
>> https://lists.mozilla.org/listinfo/dev-fxos
> 
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to