On 22.01.2014 20:37, Ben NG wrote: > 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.
It seems that YUI is currently unable to work with CSP (and there's no way to disable CSP in FxOS - for very good reasons if I may add). The bug against YUI has already been filed previously. See here: https://github.com/yui/yui3/pull/1514 _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
