Skip to content

Fix failed XHR accounting and tighten documented guarantees - #5

Merged
godhiraj-code merged 2 commits into
mainfrom
chore/readme-code-health-20260830
Aug 29, 2026
Merged

Fix failed XHR accounting and tighten documented guarantees#5
godhiraj-code merged 2 commits into
mainfrom
chore/readme-code-health-20260830

Conversation

@godhiraj-code

@godhiraj-code godhiraj-code commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • balance pendingRequests when synchronous XMLHttpRequest.send() throws before loadend
  • add a real-browser regression test preserving the original exception and verifying the counter returns to zero
  • replace overstated README/package claims with verified behavior
  • prepare version 1.0.3 so the existing PyPI 1.0.2 release is not overwritten

Testing

  • pytest -q: 163 passed, including Chrome integration tests
  • wheel and sdist built as 1.0.3
  • twine check: both artifacts passed

Risk

Low. The runtime change handles only the synchronous exception path and rethrows the original browser error after balancing internal accounting.

@godhiraj-code
godhiraj-code merged commit 3a0f111 into main Aug 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant