Browse Source

LibWeb: Remove workaround for nested BodyInit IDL union type

Linus Groh 2 years ago
parent
commit
950d2fccf0
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Userland/Libraries/LibWeb/Fetch/BodyInit.idl

+ 1 - 3
Userland/Libraries/LibWeb/Fetch/BodyInit.idl

@@ -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;