Hi Guys !

I bought a ZTE Open 2 weeks ago and after a week of headache i succeed
configure/build/flash my phone and i'm running 1.3 which is pretty
cooooooool !!
For now I'm creating a little app in order to test all of that.
I have made kind of Hello World app and i wanted to add my favorite
javascript lib which is YUI.

The javascript is well loaded because i can see the YUI global object but
when I try to invoke YUI() --> Error: call to Function() blocked by CSP

I understand that YUI create all the js with the "Function" constructor.

I read :
https://developer.mozilla.org/en/docs/Security/CSP/Default_CSP_restrictions#Function_constructor
and
https://developer.mozilla.org/en-US/docs/Security/CSP/Using_Content_Security_Policy

Do you have more precise docs on eval/Function restriction ?
And I have other question.
When can we see the 1.4 v :). Is there any road map ?
What a web dev can do for helping FFos to grow ?

Thx a lot ;)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to