xhr.abort is inaccurate #23961
Labels
area: Fetch/XMLHttpRequest
Content:WebAPI
Web API docs
effort: medium
This task is a medium effort.
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
"The XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its readyState is changed to XMLHttpRequest.UNSENT (0) and the request's status code is set to 0."
What did you expect to see?
Compare to the spec, it's clear that this doesn't cover the second case:
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: