mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:27:39 +00:00
LibWeb: Revert support for DOM::Document in XHR::send()
This is a manual revert of commit: 7831e62
Let's revert this until we got nested union support in our IDL
generator/parser.
This commit is contained in:
parent
645a64ef0f
commit
ebd93c8d57
4 changed files with 10 additions and 27 deletions
|
@ -1,4 +1,3 @@
|
|||
#import <DOM/Document.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
#import <Fetch/BodyInit.idl>
|
||||
#import <XHR/XMLHttpRequestEventTarget.idl>
|
||||
|
@ -34,7 +33,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 (Document or XMLHttpRequestBodyInit)? body = null);
|
||||
undefined send(optional XMLHttpRequestBodyInit? body = null);
|
||||
|
||||
ByteString? getResponseHeader(ByteString name);
|
||||
ByteString getAllResponseHeaders();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue