mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 22:22:55 +00:00
LibWeb: Implement FetchController::abort()
This commit is contained in:
parent
4c5019f89c
commit
968c38e54f
Notes:
github-actions[bot]
2024-11-24 10:12:37 +00:00
Author: https://github.com/kennethmyhra
Commit: 968c38e54f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2532
4 changed files with 34 additions and 4 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <LibWeb/Fetch/Infrastructure/FetchTimingInfo.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/HTML/EventLoop/Task.h>
|
||||
#include <LibWeb/HTML/StructuredSerialize.h>
|
||||
|
||||
namespace Web::Fetch::Infrastructure {
|
||||
|
||||
|
@ -74,8 +75,9 @@ private:
|
|||
GC::Ptr<GC::Function<void(JS::Object const&)>> m_report_timing_steps;
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-controller-report-timing-steps
|
||||
// FIXME: serialized abort reason (default null)
|
||||
// serialized abort reason (default null)
|
||||
// Null or a Record (result of StructuredSerialize).
|
||||
HTML::SerializationRecord m_serialized_abort_reason;
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-controller-next-manual-redirect-steps
|
||||
// next manual redirect steps (default null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue