1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

LibWeb: Add XMLHttpRequest::timeout setter and getter

This commit is contained in:
Kenneth Myhra 2022-04-23 21:42:15 +02:00 committed by Linus Groh
parent 1e1d59cc25
commit 8b42c05648
3 changed files with 24 additions and 0 deletions

View file

@ -25,6 +25,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
readonly attribute DOMString responseText;
readonly attribute any response;
attribute XMLHttpRequestResponseType responseType;
attribute unsigned long timeout;
undefined open(DOMString method, DOMString url);
undefined open(ByteString method, USVString url, boolean async, optional USVString? username = {}, optional USVString? password = {});