[ https://issues.apache.org/jira/browse/CB-11882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-11882. ----------------------------------- Resolution: Not A Problem This is an iOS 10 / Safari 10 CSP 2.0 issue and not a Cordova issue. I ran the dev tools, and hit the Refresh button and the problem was evident: "Refused to execute a script because its hash, its nonce, or 'unsafe-inline' appears in neither the script-src directive nor the default-src directive of the Content Security Policy." > IOS 10 - javascript appendChild method > -------------------------------------- > > Key: CB-11882 > URL: https://issues.apache.org/jira/browse/CB-11882 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Reporter: Jimmy Pannier > > document.head.appendChild method to programatically inject some resource ( > link element for example ) doesn't work only on ios 10 > f.e: > var elImport = document.createElement('link'); > elImport.rel = 'import'; > elImport.href = 'vulcanize/vulcanize.html'; > document.head.appendChild(elImport); -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org