mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb: Don't use a JS::Handle for XHR response object
This commit is contained in:
parent
c7ac82ec33
commit
8f4ea4e308
Notes:
sideshowbarker
2024-07-17 07:27:48 +09:00
Author: https://github.com/awesomekling
Commit: 8f4ea4e308
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
2 changed files with 9 additions and 6 deletions
|
@ -106,7 +106,7 @@ private:
|
|||
enum class Failure {
|
||||
/// ????
|
||||
};
|
||||
Variant<JS::Handle<JS::Value>, Failure, Empty> m_response_object;
|
||||
Variant<JS::Value, Failure, Empty> m_response_object;
|
||||
|
||||
// https://xhr.spec.whatwg.org/#override-mime-type
|
||||
Optional<MimeSniff::MimeType> m_override_mime_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue