Skip to content

fix(fetch): reject NaN and Infinity in JSON request data - #3223

Merged
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-43142
Oct 6, 2026
Merged

Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-43142

Conversation

@pavelfeldman

Copy link
Copy Markdown
Member

Summary

Fixes microsoft/playwright#43142

@suraj-self

Copy link
Copy Markdown
Contributor

Pavel Feldman (@pavelfeldman) Thanks for picking this up. This matches the root cause and fix I had reproduced and prepared locally. Glad to see it addressed.

@pavelfeldman
Pavel Feldman (pavelfeldman) merged commit f6e4fd6 into microsoft:main Oct 6, 2026
29 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.

[Bug]: APIRequestContext can serialize non-finite floats as invalid JSON

3 participants