You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jacob Weber (JIRA)" <ji...@apache.org> on 2014/05/27 18:44:01 UTC
[jira] [Commented] (CB-6228) Can't load new URL in Android
InAppBrowser
[ https://issues.apache.org/jira/browse/CB-6228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009877#comment-14009877 ]
Jacob Weber commented on CB-6228:
---------------------------------
Re-tested with Cordova 3.5 and InAppBrowser 0.4.0. This is still a bug. This has prevented me from upgrading from 3.3.
> Can't load new URL in Android InAppBrowser
> ------------------------------------------
>
> Key: CB-6228
> URL: https://issues.apache.org/jira/browse/CB-6228
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin InAppBrowser
> Affects Versions: 3.4.0
> Environment: InAppBrowser plugin 0.3.3
> Reporter: Jacob Weber
> Priority: Minor
>
> Create a new project using the CLI, and add this to www/js/index.js:
> {noformat}
> onDeviceReady: function() {
> app.receivedEvent('deviceready');
> window.open('http://www.google.com', '_blank');
> window.open('http://www.apple.com', '_blank');
> },
> {noformat}
> When you run it, both URLs will load in separate in-app-browsers. So when you close the browser with www.apple.com, the one with www.google.com appears. In addition, you can't close the one with www.google.com.
> The expected behavior, based on the docs and #CB-5768, is that the second URL will load in the same browser as the first.
--
This message was sent by Atlassian JIRA
(v6.2#6252)