Linus Groh
793a1f5994
LibWeb: Actually define Blob-to-ReadableStream conversion
...
This is a change in the Fetch spec.
See: 4cd70cf
2022-10-30 14:48:32 +00:00
Linus Groh
6ce08d3f75
LibWeb: Use StringView literals for all WebIDL::SimpleException
s
2022-10-29 15:48:46 +01:00
Andrew Kaster
4bb6345b2f
LibWeb: Remove unecessary dependence on Window from assorted classes
...
These classes only needed Window to get at its realm. Pass a realm
directly to construct Crypto, Encoding, HRT, IntersectionObserver,
NavigationTiming, Page, RequestIdleCallback, Selection, Streams, URL,
and XML classes.
2022-10-01 21:05:32 +01:00
Andrew Kaster
4878a18ee7
LibWeb: Remove unecessary dependence on Window from Fetch, XHR, FileAPI
...
These classes only needed Window to get at its realm. Pass a realm
directly to construct Fetch, XMLHttpRequest and FileAPI classes.
2022-10-01 21:05:32 +01:00
Linus Groh
b5e8e9b30b
LibWeb: Support ReadonlyBytes as argument for extract_body()
...
This now matches the spec's requirement of "a byte sequence or BodyInit
object object".
2022-09-27 14:56:17 +01:00
Linus Groh
ad04d7ac9b
LibWeb: Move ExceptionOr from DOM/ to WebIDL/
...
This is a concept fully defined in the Web IDL spec and doesn't belong
in the DOM directory/namespace - not even DOMException, despite the name
:^)
2022-09-25 19:13:31 +01:00
Linus Groh
6480faacb6
LibWeb: Move IDLAbstractOperations from Bindings/ to WebIDL/
2022-09-24 19:31:39 +01:00
Linus Groh
54a987ad45
LibWeb: Update extract_body() to use BodyInit
2022-09-22 21:01:13 +01:00
Linus Groh
571f4e3ebb
LibWeb: Move extract_body() into Fetch
2022-09-22 21:01:13 +01:00