Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

Bugfix: correct payload passed to send() on cache hit and miss#18

Open
rezgar wants to merge 1 commit intoplatfarm-com:masterfrom
totem-dev:bugfix/request-payload-missing
Open

Bugfix: correct payload passed to send() on cache hit and miss#18
rezgar wants to merge 1 commit intoplatfarm-com:masterfrom
totem-dev:bugfix/request-payload-missing

Conversation

@rezgar
Copy link
Copy Markdown

@rezgar rezgar commented Dec 12, 2023

When passing the original request to the original XHR, XHR Proxy's onHit and onMiss handlers were corrupting the request by passing the wrong arguments (i.e. handler function's arguments instead of XMLHttpRequestProxy.send() arguments).

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.

1 participant