LibWeb/Fetch: Implement Body::bytes()

See:
- 1085f4f
This commit is contained in:
Jamie Mansfield 2024-05-19 12:29:26 +01:00 committed by Andreas Kling
commit 08e4cf1f3b
Notes: sideshowbarker 2024-07-16 22:22:13 +09:00
3 changed files with 22 additions and 0 deletions

View file

@ -8,6 +8,7 @@ interface mixin Body {
readonly attribute boolean bodyUsed;
[NewObject] Promise<ArrayBuffer> arrayBuffer();
[NewObject] Promise<Blob> blob();
[NewObject] Promise<Uint8Array> bytes();
[NewObject] Promise<FormData> formData();
[NewObject] Promise<any> json();
[NewObject] Promise<USVString> text();