You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Montyleena (JIRA)" <ji...@apache.org> on 2013/05/31 10:59:20 UTC

[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server

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

Montyleena commented on CB-3531:
--------------------------------

Does calling ref.close() from the main application cancel the URL request too? Maybe, we can call ref.close() explicitly when "Done" button is clicked.
To reproduce this issue, we can access some URL where the script takes long time to respond
                
> InAppBrowser hangs the app in case of no/delayed response from server
> ---------------------------------------------------------------------
>
>                 Key: CB-3531
>                 URL: https://issues.apache.org/jira/browse/CB-3531
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 2.7.0
>         Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1
> Android 4.1.2
>            Reporter: Montyleena
>            Assignee: Steve Gill
>              Labels: hangs, inappbrowser,
>
> The InappBrowser hangs the entire application if the URL takes long time to respond or doesn't respond. Even if we manage to close the InAppBrowser using the "Done" button and return to the main application, the application stops responding. The expected behavior is that once we close the child browser by clicking the "Done" button, it should cancel the URL request but this doesn't happen. The application remains in non-responding state.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira