mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb/Fetch: Replace usages of AbortSignal::follow() in Fetch::Request
Since the introduction of `AbortSignal::any()`, the specification says `AbortSignal::create_dependent_abort_signal()` should be used where `AbortSignal::follow` was previously.
This commit is contained in:
parent
3d78f86a2f
commit
17e64cf08b
Notes:
sideshowbarker
2024-07-17 05:21:12 +09:00
Author: https://github.com/tcl3
Commit: 17e64cf08b
Pull-request: https://github.com/SerenityOS/serenity/pull/23724
3 changed files with 36 additions and 29 deletions
|
@ -67,7 +67,7 @@ class Request final
|
|||
JS_DECLARE_ALLOCATOR(Request);
|
||||
|
||||
public:
|
||||
[[nodiscard]] static JS::NonnullGCPtr<Request> create(JS::Realm&, JS::NonnullGCPtr<Infrastructure::Request>, Headers::Guard);
|
||||
[[nodiscard]] static JS::NonnullGCPtr<Request> create(JS::Realm&, JS::NonnullGCPtr<Infrastructure::Request>, Headers::Guard, JS::NonnullGCPtr<DOM::AbortSignal>);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Request>> construct_impl(JS::Realm&, RequestInfo const& input, RequestInit const& init = {});
|
||||
|
||||
virtual ~Request() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue