You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sebastian Betzinger (JIRA)" <ji...@apache.org> on 2015/10/22 18:33:27 UTC

[jira] [Created] (CB-9845) inappbrowser close function not working as intended, leaving instance of inappbrowser running

Sebastian Betzinger created CB-9845:
---------------------------------------

             Summary: inappbrowser close function not working as intended, leaving instance of inappbrowser running
                 Key: CB-9845
                 URL: https://issues.apache.org/jira/browse/CB-9845
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, iOS, Plugin InAppBrowser
    Affects Versions: 3.5.0, Master
         Environment: Mac OSX/Win10/Ubuntu14.04
            Reporter: Sebastian Betzinger
            Priority: Critical


Code of index.js:

var ref;

function xy() {
ref = cordova.InAppBrowser.open(...);
}

function ab() {
ref.close();
xy();
}

ab();


InAppBrowser instance stays opened with url "about:blank" in foreground and a second instance of InAppBrowser is launched in background.

Should be: instance of InAppBrowser should be purged and closed instead of being held with "about:blank"



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