-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove link to the constants DONE and UNSENT #24535
Conversation
Preview URLs (comment last updated: 2023-02-19 06:38:10) |
@@ -10,7 +10,7 @@ browser-compat: api.XMLHttpRequest.abort | |||
The **`XMLHttpRequest.abort()`** method aborts the request if | |||
it has already been sent. When a request is aborted, its | |||
{{domxref("XMLHttpRequest.readyState", "readyState")}} is changed to | |||
{{domxref("XMLHttpRequest.UNSENT")}} (0) and the request's | |||
`UNSENT` (0) and the request's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XMLHttpRequest.UNSENT
is an actual JS entity. Even if we don't have a page for it (see also: #9156, I think we should at least have a mention of it on the XMLHttpRequest
landing page), we should keep the XMLHttpRequest.UNSENT
qualified name.
Yes, you are right, let's keep the prefix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's an established decision to not document constants/enums, then this LGTM.
It is; we don't document them on their page. (The state machine should, directly or indirectly, be explained somehow, somewhere). |
* Remove link to DONE * Remove link to UNSENT * Reprefix the const * Reprefix the const
We don't write separate pages for constants. Transforms the links to a simple text.