mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00:00
11 lines
512 B
Text
11 lines
512 B
Text
#import <FileAPI/Blob.idl>
|
|
#import <Streams/ReadableStream.idl>
|
|
#import <URL/URLSearchParams.idl>
|
|
|
|
// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit
|
|
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;
|