1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

LibWeb/Fetch: Align is_network_error() with the latest specification

This commit is contained in:
Aliaksandr Kalenik 2023-10-02 19:30:44 +02:00 committed by Andreas Kling
parent 084cb4350e
commit 5d885e9047
2 changed files with 17 additions and 2 deletions

View file

@ -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&);