Skip to content

Add readystate change event to XHR #840

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

Merged
merged 2 commits into from
Jul 6, 2025
Merged

Add readystate change event to XHR #840

merged 2 commits into from
Jul 6, 2025

Conversation

karlseguin
Copy link
Collaborator

Deal with non-node current target crashing. Builds ontop of abort_signal, but with the new event-target specific union, I think this will work in for all future cases.

Deal with non-node current target crashing. Builds ontop of abort_signal, but
with the new event-target specific union, I think this will work in for all
future cases.
@karlseguin karlseguin force-pushed the xhr_readystatechange branch from 3d8cc2a to dfe9024 Compare July 3, 2025 11:32
Copy link
Contributor

@sjorsdonkers sjorsdonkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering whether it would be good to also implement the state change on abort now:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort

@karlseguin
Copy link
Collaborator Author

I'm wondering whether it would be good to also implement the state change on abort now: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort

I tried to improve that too now.

@karlseguin karlseguin merged commit 300428d into main Jul 6, 2025
10 checks passed
@karlseguin karlseguin deleted the xhr_readystatechange branch July 6, 2025 00:59
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants