1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibWeb: Remove workaround for nested BodyInit IDL union type

This commit is contained in:
Linus Groh 2022-10-21 00:44:32 +02:00
parent 775c12f60f
commit 950d2fccf0

View file

@ -6,6 +6,4 @@
typedef (Blob or BufferSource or URLSearchParams or USVString) XMLHttpRequestBodyInit;
// https://fetch.spec.whatwg.org/#bodyinit
// FIXME: IDLParser doesn't resolve nested unions properly
// typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;
typedef (ReadableStream or Blob or BufferSource or URLSearchParams or USVString) BodyInit;
typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;