You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A request cancelled due to another request ends up showing the error page instead of response of the second request.
What is expected to happen?
The response of the second request should be shown.
What does actually happen?
The errorUrl page is shown.
Information
The error is similar to apache/cordova-plugin-wkwebview-engine#83 . We have two requests being run one after the other. The first request is cancelled once the second request is made. Instead of waiting for the response of the second request, the didFailLoadWithError shows the errorUrl page.
This was previously implemented back in the UIWebView days as CB-13222
in apache#334 and was then proposed
in apache/cordova-plugin-wkwebview-engine#84 for
the WKWebView plugin, but that didn't get reviewed/merged before the
repo was archived. The fix is still valid, so we'll port it to the
current version of the WKWebView plugin.
ClosesapacheGH-959.
Co-Authored-By: Gwyn Judd <gjudd@stayinfront.com>
Bug Report
Problem
A request cancelled due to another request ends up showing the error page instead of response of the second request.
What is expected to happen?
The response of the second request should be shown.
What does actually happen?
The errorUrl page is shown.
Information
The error is similar to apache/cordova-plugin-wkwebview-engine#83 . We have two requests being run one after the other. The first request is cancelled once the second request is made. Instead of waiting for the response of the second request, the didFailLoadWithError shows the errorUrl page.
Environment, Platform, Device
cordova-ios, iPhone 8(iOS 13.6)
Version information
cordova(9.0.0)
cordova-ios(5.1.1)
cordova-plugin-wkwebviewengine(1.2.1)
Filing it here since the code has been integrated as of cordova-ios 6.0.0 and the issue doesn't seem to be fixed in the code.
Checklist
The text was updated successfully, but these errors were encountered: