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
commit 8f4ea4e308
Notes: sideshowbarker 2024-07-17 07:27:48 +09:00
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;