1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

LibWeb: Implement XMLHttpRequest.getResponseHeader()

This lets jQuery's AJAX functionality progress further :^)
This commit is contained in:
Linus Groh 2021-04-03 15:51:15 +02:00 committed by Andreas Kling
parent 288b90a297
commit 57ead17d54
4 changed files with 8 additions and 2 deletions

View file

@ -102,7 +102,7 @@ static size_t get_function_length(FunctionType& function)
struct Type {
String name;
bool nullable { false };
bool is_string() const { return name.is_one_of("DOMString", "USVString", "CSSOMString"); }
bool is_string() const { return name.is_one_of("ByteString", "CSSOMString", "DOMString", "USVString"); }
};
struct Parameter {