ladybird/Tests/LibWeb/Text/expected/Fetch/request-constructor-does-not-throw-on-null-body-with-get-or-head-request.txt
Luke Wilde 198cec481a LibWeb: Allow null for optional, nullable, no default value union types
For these types, it would previously only accept `undefined` for the
`null` state.

Fixes GET requests in the Turbo library always failing:
9e057f284a/src/http/fetch_request.js (L219-L220)
9e057f284a/src/http/fetch_request.js (L51-L64)

This was found on https://www.fangamer.com/.
2025-02-22 18:45:27 +01:00

4 lines
218 B
Text

Successfully created GET request with body set to null
Successfully created HEAD request with body set to null
Successfully started GET fetch with body set to null
Successfully started HEAD fetch with body set to null