+ Andrew And for completeness, here is the initial rejection message:
1) Your app includes code which will be blocked from executed by the CSP applied to privileged apps. The CSP prevents all inline Javascript such as eval; new Function(); setTimeout and setInterval (with String parameters); inline event handlers; new <script> elements. https://developer.mozilla.org/en-US/docs/Web/Apps/Packaged_apps#Types_of_pa ckaged_apps You are using eval here, which is not allowed (and also will be blocked by our CSP). if (l10nArgs) try { args = eval(l10nArgs); // XXX yeah, I know... } catch (e) { -- Kind regards, Lisa Brewster [:adora] Marketplace App Review Manager -----Original Message----- From: <[email protected]> Date: Monday, April 7, 2014 at 4:35 PM To: <[email protected]> Subject: Is it allowed to use jQuery? >I have developed a FirefoxOS app that uses jquery, and submitted it to >the Firefox marketplace. > >https://github.com/kazhik/Hayate/ >https://marketplace.firefox.com/app/hayate/ > >The first reviewer rejected it, saying there is CSP violation. >But he didn't explain where is CSP violation. > >I submitted the same version again two weeks ago. >A reviewer emailed me. > >> I re-reviewed your addon, and one of your libraries uses eval: >>jquery-2.1.0.min.js . >> This is something we can not allowed, and also, your block of code that >>uses eval won't work. > >I asked whether jquery is allowed or not. But no response. >Submission status is still 'pending for approval'. > >What should I do next? >_______________________________________________ >dev-webapps mailing list >[email protected] >https://lists.mozilla.org/listinfo/dev-webapps _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
