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

LibWeb/Fetch: Port JS interfaces to new String

Since BodyInit and Headers are tightly coupled to both Request and
Response, I chose to do all of them at once instead of introducing a
bunch of temporary conversion glue code.
This commit is contained in:
Linus Groh 2023-03-02 22:26:12 +00:00
parent f561940e54
commit 7f9ddcf420
13 changed files with 130 additions and 129 deletions

View file

@ -2,7 +2,7 @@
#import <Fetch/BodyInit.idl>
#import <Fetch/Headers.idl>
[Exposed=(Window,Worker)]
[Exposed=(Window,Worker), UseNewAKString]
interface Response {
constructor(optional BodyInit? body = null, optional ResponseInit init = {});