Hello Prateek,

yes, you can enable preferences via WebIDE [1].

Also, you have a Settings app menu under Developers->Service Workers where you 
can enable/disable service workers interception, allow http origins and see a 
list of installed service workers.

Cheers,

/ Fernando

[1] 
https://developer.mozilla.org/en-US/docs/Tools/WebIDE/The_runtime_menu#Device_preferences

> On Sep 23, 2015, at 11:02 PM, Prateek Jadhwani <[email protected]> 
> wrote:
> 
> Hi Robert, I remember that in the browser this flag 
> dom.serviceWorkers.enabled can be set to true in about::config 
> <about::config>. Do you know how it can be done from webIDE as in for 
> simulator or an app connected to the device? 
> 
> Thanks
> On Wednesday, September 23, 2015 at 4:19:33 PM UTC-4, Robert Bîndar wrote:
>> You might also need to set dom.serviceWorkers.enabled to true.
>> 
>> 
>> 
>> 2015-09-23 12:27 GMT-07:00 Prateek Jadhwani <[email protected] 
>> <http://gmail.com/>>:
>> 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] <http://lists.mozilla.org/>
>> 
>> https://lists.mozilla.org/listinfo/dev-fxos 
>> <https://lists.mozilla.org/listinfo/dev-fxos>
> _______________________________________________
> dev-fxos mailing list
> [email protected] <mailto:[email protected]>
> https://lists.mozilla.org/listinfo/dev-fxos 
> <https://lists.mozilla.org/listinfo/dev-fxos>
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to