mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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
Notes:
sideshowbarker
2024-07-17 04:29:40 +09:00
Author: https://github.com/linusg
Commit: bfa378660b
Pull-request: https://github.com/SerenityOS/serenity/pull/16048
Reviewed-by: https://github.com/davidot
Reviewed-by: https://github.com/kennethmyhra ✅
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