mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37: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:
parent
fb57500394
commit
bfa378660b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue