mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb/XHR: Isomorphic decode accessing XMLHttpRequest response headers
Fixes a crash on: https://wpt.live/html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.html
This commit is contained in:
parent
731c2365b6
commit
e74ca82083
Notes:
github-actions[bot]
2025-01-15 12:36:55 +00:00
Author: https://github.com/shannonbooth
Commit: e74ca82083
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3111
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 47 additions and 14 deletions
|
@ -61,8 +61,8 @@ public:
|
|||
WebIDL::ExceptionOr<void> set_request_header(String const& header, String const& value);
|
||||
WebIDL::ExceptionOr<void> set_response_type(Bindings::XMLHttpRequestResponseType);
|
||||
|
||||
WebIDL::ExceptionOr<Optional<String>> get_response_header(String const& name) const;
|
||||
WebIDL::ExceptionOr<String> get_all_response_headers() const;
|
||||
Optional<String> get_response_header(String const& name) const;
|
||||
String get_all_response_headers() const;
|
||||
|
||||
WebIDL::CallbackType* onreadystatechange();
|
||||
void set_onreadystatechange(WebIDL::CallbackType*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue