mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Implement BufferSource support for XHR::send()
This commit is contained in:
parent
e55bdd434a
commit
9a1c27a163
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/kennethmyhra
Commit: 9a1c27a163
Pull-request: https://github.com/SerenityOS/serenity/pull/14648
Reviewed-by: https://github.com/linusg ✅
3 changed files with 8 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
namespace Web::XHR {
|
||||
|
||||
// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit
|
||||
using XMLHttpRequestBodyInit = Variant<NonnullRefPtr<FileAPI::Blob>, NonnullRefPtr<URL::URLSearchParams>, String>;
|
||||
using XMLHttpRequestBodyInit = Variant<NonnullRefPtr<FileAPI::Blob>, JS::Handle<JS::Object>, NonnullRefPtr<URL::URLSearchParams>, String>;
|
||||
|
||||
class XMLHttpRequest final
|
||||
: public RefCounted<XMLHttpRequest>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue