LibWeb: Use ByteString arguments for XMLHttpRequest.setRequestHeader()

This commit is contained in:
Tim Ledbetter 2024-11-21 17:02:09 +00:00 committed by Tim Flynn
commit 00f6a2b744
Notes: github-actions[bot] 2024-11-21 20:50:48 +00:00
5 changed files with 192 additions and 1 deletions

View file

@ -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;