cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Wiersch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6702) InAppBrowser hangs when opening more than one instance
Date Sun, 23 Nov 2014 14:40:13 GMT

    [ https://issues.apache.org/jira/browse/CB-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222380#comment-14222380
] 

Tobias Wiersch commented on CB-6702:
------------------------------------

I think I have the same problem:

1) I open the InAppBrowser with "_blank" (e.g. calling my project page).
2) When the page in the InAppBrowser wants to open an external page, it will send the url
to the app.
3) The app receives the URL and opens another instance of InAppBrowser, now with "_system".

But in this moment the first page ("_blank") looses all event listeners instantly!
So if the second page is closed, I will see the first page again, but it will react to no
events.
E.g. when I close the page, the "exit" event won't be fired.
This breaks my app.

Affected cordova version: 4.1.2


> InAppBrowser hangs when opening more than one instance
> ------------------------------------------------------
>
>                 Key: CB-6702
>                 URL: https://issues.apache.org/jira/browse/CB-6702
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.4.0
>         Environment: Android 4.4.2 - Nexus 7
> Android 4.4.2 - Nexus 10
>            Reporter: Pablo Terradillos
>              Labels: android, inappbrowser
>
> Run:
> var ref1 = window.open('http://google.com', '_blank', 'location=yes');
> var ref2 = window.open('http://youtube.com', '_blank', 'location=yes');
> If I close the inappbrowser window containing youtube.com I can navigate on the second
window containing google.com but I'm not able to close it.
> What is more, it neither react to ref1.close();  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message