You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mike Kwan (JIRA)" <ji...@apache.org> on 2013/03/09 12:53:12 UTC
[jira] [Created] (CB-2641) InAppBrowser launched incorrectly when
window.open called on iframes
Mike Kwan created CB-2641:
-----------------------------
Summary: InAppBrowser launched incorrectly when window.open called on iframes
Key: CB-2641
URL: https://issues.apache.org/jira/browse/CB-2641
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 2.5.0, 2.4.0
Environment: This bug is reproducible on all iOS devices and simulator for Cordova 2.4.0 and 2.5.0. The bug did not exist in Cordova 2.3.0.
Reporter: Mike Kwan
Assignee: Shazron Abdullah
Attachments: index.html
window.open is overridden by Cordova to launch the InApBrowser plugin. When window.open is called on iframes, the InAppBrowser is incorrectly launched. Putting the attached HTML files into www demonstrates:
- the expected behaviour by using the native window.open
- the bug in Cordova causing InAppBrowser to be launched instead after window.open is overridden
- an example of a fix
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira