[ 
https://issues.apache.org/jira/browse/CB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Kwan updated CB-2641:
--------------------------

    Description: 
window.open is overridden by Cordova to launch the InAppBrowser 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

  was:
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

    
> 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.4.0, 2.5.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, shared-frame.html
>
>
> window.open is overridden by Cordova to launch the InAppBrowser 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

Reply via email to