Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

WebView is never enabled if final request is NSURLErrorDomain error -999 #380

Open
crswlls opened this issue May 8, 2019 · 0 comments
Open
Assignees
Labels
investigating Currently investigating issue

Comments

@crswlls
Copy link

crswlls commented May 8, 2019

Version

  • component version = 1.6.0.3

Steps to reproduce

User attempts to authenticate and page resources are loaded:

  1. Final resource is loaded by the auth page
  2. WebView gets disabled during load (UIWebViewDelegate LoadStarted)
  3. resource request is cancelled for whatever reason (NSURLErrorDomain error -999)
  4. UIWebViewDelegate LoadFailed method returns early
  5. webView.UserInteractionEnabled = true never happens
  6. WebView remains disabled and there are no further requests to enable it

Platform:
iOS

Expected behaviour

Just as with other errors, UIWebViewDelegate should re-enable user interaction even if controller.authenticator.OnError is suppressed (as it seems was the initial intention of #41)

Actual behaviour

WebView interaction remains disabled

@moljac moljac self-assigned this May 9, 2019
@moljac moljac added the investigating Currently investigating issue label May 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
investigating Currently investigating issue
Projects
None yet
Development

No branches or pull requests

2 participants