BodyInit.idl 512 B

1234567891011
  1. #import <FileAPI/Blob.idl>
  2. #import <Streams/ReadableStream.idl>
  3. #import <URL/URLSearchParams.idl>
  4. // https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit
  5. typedef (Blob or BufferSource or URLSearchParams or USVString) XMLHttpRequestBodyInit;
  6. // https://fetch.spec.whatwg.org/#bodyinit
  7. // FIXME: IDLParser doesn't resolve nested unions properly
  8. // typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;
  9. typedef (ReadableStream or Blob or BufferSource or URLSearchParams or USVString) BodyInit;