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

LibWeb: Use DOMException in XMLHttpRequest::open()

This commit is contained in:
Linus Groh 2021-02-20 00:46:19 +01:00 committed by Andreas Kling
parent c4d8cce9a2
commit 70878290b9
2 changed files with 8 additions and 10 deletions

View file

@ -69,7 +69,8 @@ public:
ReadyState ready_state() const { return m_ready_state; };
String response_text() const;
void open(const String& method, const String& url);
DOM::ExceptionOr<void> open(const String& method, const String& url);
void send();
DOM::ExceptionOr<void> set_request_header(const String& header, const String& value);