mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
LibWeb/Fetch: Align is_network_error()
with the latest specification
This commit is contained in:
parent
084cb4350e
commit
5d885e9047
Notes:
sideshowbarker
2024-07-16 19:42:24 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 5d885e9047
Pull-request: https://github.com/SerenityOS/serenity/pull/21294
Issue: https://github.com/SerenityOS/serenity/issues/21290
2 changed files with 17 additions and 2 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
|
||||
// https://fetch.spec.whatwg.org/#fetch-timing-info-decoded-body-size
|
||||
u64 decoded_size { 0 };
|
||||
|
||||
bool operator==(BodyInfo const&) const = default;
|
||||
};
|
||||
|
||||
[[nodiscard]] static JS::NonnullGCPtr<Response> create(JS::VM&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue