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

ASF subversion and git services commented on CB-7813:
-----------------------------------------------------

Commit d72a48acd0b9455ece519419f0cbc538a8af808c in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=d72a48a ]

CB-7813 - Added unit test


> 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