mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibWeb: Correct parameter name in Web::Streams::ReadableStream::cancel
This aligns with the name given in the implementation file and is a better description of what is being passed in.
This commit is contained in:
parent
314eeeb9b2
commit
e1d71454eb
Notes:
sideshowbarker
2024-07-17 05:03:11 +09:00
Author: https://github.com/shannonbooth
Commit: e1d71454eb
Pull-request: https://github.com/SerenityOS/serenity/pull/19458
Reviewed-by: https://github.com/kennethmyhra
Reviewed-by: https://github.com/mattco98 ✅
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
virtual ~ReadableStream() override;
|
||||
|
||||
bool locked() const;
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> cancel(JS::Value view);
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> cancel(JS::Value reason);
|
||||
WebIDL::ExceptionOr<ReadableStreamReader> get_reader();
|
||||
|
||||
Optional<ReadableStreamController>& controller() { return m_controller; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue