cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schmidt (JIRA)" <>
Subject [jira] [Created] (CB-10324) iframe created in JavaScript does not load
Date Tue, 12 Jan 2016 12:20:39 GMT
Gregor Schmidt created CB-10324:

             Summary: iframe created in JavaScript does not load
                 Key: CB-10324
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.0.1
            Reporter: Gregor Schmidt

When dynamically creating an `iframe`, the `iframe`'s `src` is never loaded. This worked without
issues on `cordova-ios` 3.9.2.

Example Code:

i = document.createElement("iframe");
i.src = "";

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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message