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:
parent
c4d8cce9a2
commit
70878290b9
2 changed files with 8 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue