There was a typo the devtools did not report. I wrote "app.manifestUrl" instead of "app.manifestURL". The snippet from MDN I started with had this typo, so I edited the article as well.
On 30.07.2014 11:24, Frederik Braun wrote: > On 29.07.2014 19:42, Fabrice Desré wrote: >> Hi Frederick, >> >> You are not using the access mode when calling permissions.get() and I >> think you need to. Take a look at what the settings app is doing to get >> the app's permissions. >> >> Fabrice > > > I'm not sure what you mean by "access mode". What I did observe when > looking at the settings app is that it doesn't use the return value from > navigator.mozApps.mgmt.getAll() but the event target's result (I get the > same list though). > > Changing the code pattern towards this didn't help: > https://github.com/mozfreddyb/permissions-app/commit/0bb53cc85de0df65adc0460b2ed9b9fbc323849b > > > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g