1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWeb: Add comments and missing items of various IDL files

This commit is contained in:
Bastiaan van der Plaat 2023-10-25 17:27:19 +02:00 committed by Andreas Kling
parent fc46def2f5
commit 169d24ae2e
75 changed files with 233 additions and 129 deletions

View file

@ -1,5 +1,7 @@
// https://fetch.spec.whatwg.org/#typedefdef-headersinit
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
// https://fetch.spec.whatwg.org/#headers
[Exposed=(Window,Worker)]
interface Headers {
constructor(optional HeadersInit init);

View file

@ -2,6 +2,7 @@
#import <Fetch/BodyInit.idl>
#import <Fetch/Headers.idl>
// https://fetch.spec.whatwg.org/#response-class
[Exposed=(Window,Worker)]
interface Response {
constructor(optional BodyInit? body = null, optional ResponseInit init = {});