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

LibWeb: Don't use a JS::Handle for XHR response object

This commit is contained in:
Andreas Kling 2022-09-01 12:49:39 +02:00
parent c7ac82ec33
commit 8f4ea4e308
2 changed files with 9 additions and 6 deletions

View file

@ -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;