Linus Groh
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
...
We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^)
2022-12-06 08:54:33 +01:00
Kenneth Myhra
8f0fdef856
LibWeb: Remove unused type XMLHttpRequestBodyInit
2022-11-11 00:39:12 -07:00
Linus Groh
a2a4ad3b9d
LibWeb: Fix typo in BodyInitOrReadableBytes type alias
2022-11-09 22:38:03 +00:00
Linus Groh
dcded8d39f
LibWeb: Implement 'Safely extract BodyInit' AO
2022-10-30 20:10:29 +00: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
54a987ad45
LibWeb: Update extract_body() to use BodyInit
2022-09-22 21:01:13 +01:00
Linus Groh
8f5620b5d9
LibWeb: Add BodyInit union type
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
Linus Groh
1ace80235b
LibWeb: Move XMLHttpRequestBodyInit into Fetch
...
https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit
2022-09-22 21:01:13 +01:00