mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
LibWeb: Implement support for DOM::Document in XHR::send()
Co-authored-by: Linus Groh <mail@linusgroh.de>
This commit is contained in:
parent
1dc05fcc12
commit
d11d26ef91
Notes:
sideshowbarker
2024-07-17 04:36:52 +09:00
Author: https://github.com/kennethmyhra
Commit: d11d26ef91
Pull-request: https://github.com/SerenityOS/serenity/pull/15999
Reviewed-by: https://github.com/linusg ✅
3 changed files with 26 additions and 9 deletions
|
@ -1,3 +1,4 @@
|
|||
#import <DOM/Document.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
#import <Fetch/BodyInit.idl>
|
||||
#import <XHR/XMLHttpRequestEventTarget.idl>
|
||||
|
@ -33,7 +34,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
|
|||
undefined open(DOMString method, DOMString url);
|
||||
undefined open(ByteString method, USVString url, boolean async, optional USVString? username = {}, optional USVString? password = {});
|
||||
undefined setRequestHeader(DOMString name, DOMString value);
|
||||
undefined send(optional XMLHttpRequestBodyInit? body = null);
|
||||
undefined send(optional (Document or XMLHttpRequestBodyInit)? body = null);
|
||||
undefined abort();
|
||||
|
||||
ByteString? getResponseHeader(ByteString name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue