Thanks, but the example is just for explaining restriction and not a actual example of manifest description.

[1] and [2] are looping to explain CSP on manifest :(


[1] https://developer.mozilla.org/en-US/Apps/Build/Manifest#csp
[2] https://developer.mozilla.org/en-US/Apps/Build/installable_apps_for_Firefox_OS/CSP


On 14/10/9 17:08 , Chris Mills wrote:
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


_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to