The only examples we have on MDN are in this article:

https://developer.mozilla.org/en-US/Apps/Build/installable_apps_for_Firefox_OS/CSP

But it looks very similar to what you are doing, so I’m not sure why this isn’t 
working. If knowledgeable parties could chime in and provide some more info, 
that would be great ;-)

Chris Mills
   Senior tech writer || Mozilla
developer.mozilla.org || MDN
   cmi...@mozilla.com || @chrisdavidmills



On 9 Oct 2014, at 06:38, Junichi Hashimoto <ju-hashim...@kddilabs.jp> wrote:

> Hi
> 
> Is there any example of specifying CSP in manifest file?
> 
> I added a following line for a web-previleged app but inline-script is still 
> active.
> 
> "csp":"default-src *; script-src 'self'; object-src 'none'; style-src 'self'"
> 
> # firefoxOS is version 2.1
> _______________________________________________
> 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

Reply via email to