Le 22/01/2014 20:37, Ben NG a écrit :
> Hi Guys !

Hey !

> 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 ?

Well, I think you found the most precise docs already! Which information
do you think is missing?

> And I have other question.
> When can we see the 1.4 v :). Is there any road map ?

v1.3 is not finished yet, you know ;) We're still fixing some bugs that
are due for 1.3.
v1.4 (final version) is not due before March.

> What a web dev can do for helping FFos to grow ?

You can have a look at http://www.joshmatthews.net/bugsahoy/?b2g=1 and
pick bugs :) The various component peers will be happy to help you start
on Gaia development!

Cheers,
-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to