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

ASF GitHub Bot commented on CB-7813:
------------------------------------

Github user shazron commented on the pull request:

    https://github.com/apache/cordova-ios/pull/110#issuecomment-59456685
  
    Filed https://issues.apache.org/jira/browse/CB-7813


> CDVWebViewDelegate fails to update the webview state properly in iOS
> --------------------------------------------------------------------
>
>                 Key: CB-7813
>                 URL: https://issues.apache.org/jira/browse/CB-7813
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 3.7.0
>
>
> pull request: https://github.com/apache/cordova-ios/pull/110
> CDVWebViewDelegate fails to update the webview state properly in iOS when a 
> page loads an iframe using javascript and does a redirect to another page 
> using javascript. Method didFailLoadWithError gets called while in 
> STATE_WAITING_FOR_LOAD_START with a NSURLErrorCancelled (-999) error. Instead 
> of entering STATE_CANCELLED in this situation it always enters STATE_IDLE, 
> which causes didFailLoadWithError event to never fire (which depending on the 
> app, and definitely in our case, can cause a hang condition).
> For a simplified Cordova project that reproduces the problem in the most 
> straigth forward way possible, please refer to: 
> https://github.com/greatvines/cordova-webview-state-bug-www



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to