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/03/11 21:42:43 UTC
[jira] [Created] (CB-6228) Can't load new URL in Android
InAppBrowser
Jacob Weber created CB-6228:
-------------------------------
Summary: 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
Affects Versions: 3.4.0
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)