Hi everyone!!!
I'm back working in a privileged FirefoxOS app and I was surprised to
discover that I had a lot of CSP errors.
I resolved all the errors.
But I have some warnings in jquery library which I don't understand.
Please I need some help, I have no idea how I could solve them.
I read the CSP restrictions (https://developer.mozilla.org/Apps/CSP).
Following are the warnings:
1º CSP Violation Detected
js/jquery_libs/jquery.js
if ( parsed ) {
return [ context.createElement( parsed[1] ) ];
}
2º CSP Violation Detected
js/jquery_libs/jquery.js
// and removal by using an indirect global eval
indirect( code );
}
3º CSP Violation Detected
js/jquery_libs/jquery.js
if ( code.indexOf("use strict") === 1 ) {
script = document.createElement("script");
script.text = code;
4º CSP Violation Detected
js/jquery_libs/jquery.js
function actualDisplay( name, doc ) {
var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
display = jQuery.css( elem[0], "display" );
Thanks in advance
Regards, Mar
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps