mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Use ByteString arguments for XMLHttpRequest.setRequestHeader()
This commit is contained in:
parent
2aee5d7f62
commit
00f6a2b744
Notes:
github-actions[bot]
2024-11-21 20:50:48 +00:00
Author: https://github.com/tcl3
Commit: 00f6a2b744
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2485
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 192 additions and 1 deletions
|
@ -33,7 +33,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
|
|||
// request
|
||||
undefined open(DOMString method, DOMString url);
|
||||
undefined open(ByteString method, USVString url, boolean async, optional USVString? username = null, optional USVString? password = null);
|
||||
undefined setRequestHeader(DOMString name, DOMString value);
|
||||
undefined setRequestHeader(ByteString name, ByteString value);
|
||||
attribute unsigned long timeout;
|
||||
attribute boolean withCredentials;
|
||||
[SameObject] readonly attribute XMLHttpRequestUpload upload;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue