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
Currently only abort() is supported. When using abort() on Chrome, cancelled fetch() calls return AbortError: The user aborted a request.. This is confusing when triggered without user input, for instance by timeouting early, or preemptively on navigation.
Best,
gxt
The text was updated successfully, but these errors were encountered:
Motivation
Provide accurate error message when aborting fetch programmatically without user input.
Proposed Solution
Support
abort(reason)
call on AbortController.Alternatives
None known to me.
Additional Context
Currently only
abort()
is supported. When usingabort()
on Chrome, cancelledfetch()
calls returnAbortError: The user aborted a request.
. This is confusing when triggered without user input, for instance by timeouting early, or preemptively on navigation.Best,
gxt
The text was updated successfully, but these errors were encountered: