You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/18 20:25:31 UTC

[GitHub] [cordova-plugin-wkwebview-engine] gwynjudd opened a new issue #83: (iOS) Infinite Loop when a "NSURLErrorCancelled -999" is received on didFailLoadWithError

gwynjudd opened a new issue #83: (iOS) Infinite Loop when a "NSURLErrorCancelled -999" is received on didFailLoadWithError
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/83
 
 
   # Bug Report
   Basically identical to the issue described in https://github.com/apache/cordova-ios/pull/334, but for WKWebView.
   
   If you cancel navigation in shouldOverrideLoadWithRequest in a plugin, and then do `[webViewEngine loadRequest...]` to load something else, if you get the timing just right, it will go into an infinite loop in `didFailNavigation`.
   
   ## Problem
   Infinite loop in `didFailNavigation`.
   
   ### What is expected to happen?
   Should not infinite loop.
   
   ### What does actually happen?
   
   Infinite loop with failed loads of the error URL.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   PR should be forthcoming that basically copies this https://github.com/apache/cordova-ios/pull/334. I'll link it to this when I submit it.
   
   ### Command or Code
   As described. It seemed to depend a bit on timing, so I can't easily provide a code sample that consistently replicated the issue.
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Various different iOS devices and simulators.
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   cordova-plugin-wkwebview-engine - 1.1.4
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x ] I searched for existing GitHub issues
   - [ x ] I updated all Cordova tooling to most recent version
   - [ x ] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org