Hi Prateek,

You can access FirefoxOS's about:config in WebIDE in Runtime > Device Preferences, but you need to disable devtools restriction [1]

[1] https://developer.mozilla.org/ar/docs/Tools/WebIDE


On 09/23/2015 10:02 PM, Prateek Jadhwani wrote:
Hi Robert, I remember that in the browser this flag dom.serviceWorkers.enabled 
can be set to true in 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]>:
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


--
Software Engineering Student
LinkedIn : https://tn.linkedin.com/in/alexandrebm
Blog : http://blog.rednaks.tn
Github : https://github.com/rednaks
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to