[
https://issues.apache.org/jira/browse/CB-10324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-10324.
-----------------------------
Resolution: Won't Do
closing as won't do as no work has been done after all those years
if still interested in the feature, create an issue on github
https://github.com/apache/cordova-ios/issues
> Derive whitelist tags from CSP
> ------------------------------
>
> Key: CB-10324
> URL: https://issues.apache.org/jira/browse/CB-10324
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-android, cordova-ios
> Affects Versions: 4.0.1
> Reporter: Gregor Schmidt
> Priority: Minor
>
> When dynamically creating an {{iframe}}, the {{iframe}}'s {{src}} is never
> loaded. This worked without issues using 3.9.2.
> Example Code:
> {code:javascript}
> i = document.createElement("iframe");
> i.src = "https://example.org";
> document.body.appendChild(i);
> {code}
> Please note, that you have to extend the {{Content-Security-Policy}} headers
> to include {{https:}} to pass CSP restrictions.
> I have also created a sample project to reproduce the problem. You may find
> it at https://github.com/schmidt/cordova-ios-iframe-example
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]