cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Betzinger (JIRA)" <>
Subject [jira] [Commented] (CB-9845) inappbrowser close function not working as intended, leaving instance of inappbrowser running
Date Sat, 24 Oct 2015 07:36:27 GMT


Sebastian Betzinger commented on CB-9845:

How is this not a bug if infinite white windows spawn in foreground everytime running the
.close() function of a inappbrowser reference which can't be killed or moved to background?
This overrules all other parts of the app. 

It is clearly a BUG as closing an inappbrowser breaks the whole application.

About which device are you talking? Watch the code as posted in the opening post:
line 370 - 386 this is the "cause" of this bug, nothing stated about the inappbrowser staying
in foreground with about:blank.

> inappbrowser close function not working as intended, leaving instance of inappbrowser
> ---------------------------------------------------------------------------------------------
>                 Key: CB-9845
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: Master
>         Environment: Mac OSX/Win10/Ubuntu14.04
>            Reporter: Sebastian Betzinger
>            Priority: Critical
>              Labels: 1.0.1, Android, inappbrowser, ios
> recent cordova tools 5.3.3, recent inappbrowser 1.0.1
> Code to reproduce:
> var ref;
> function xy() {
> ref =;
> }
> function ab() {
> ref.close();
> xy();
> }
> xy();
> ab();
> First InAppBrowser instance stays opened with url "about:blank" in foreground and a second
instance of InAppBrowser is launched in background with actual content. Using show() function
on second instance does not bring second inappbrowser to foreground, so every newly launched
instance is stuck in background.
> Should be: instance of InAppBrowser should be purged and closed instead of being held
with "about:blank"
> Also using the Toolbar/Locationbar to close the inappbrowser leaves the instance on device.
This is a matter in lack of performance regarding long time running of the apps.
line 377 dismiss seems not to work!

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message