1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibWeb: Add a clarifying comment to XHR::m_response_object

Trying to change this to a JS::Object didn't quite work, so let's add
a helpful comment instead.
This commit is contained in:
Linus Groh 2022-11-13 14:37:53 +00:00
parent fb57500394
commit bfa378660b

View file

@ -161,6 +161,7 @@ private:
// https://xhr.spec.whatwg.org/#response-object
// response object
// An object, failure, or null, initially null.
// NOTE: This needs to be a JS::Value as the JSON response might not actually be an object.
Variant<JS::Value, Failure, Empty> m_response_object;
// FIXME: https://xhr.spec.whatwg.org/#xmlhttprequest-fetch-controller