1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +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:
Shannon Booth 2023-06-18 21:36:19 +12:00 committed by Andreas Kling
parent 314eeeb9b2
commit e1d71454eb

View file

@ -35,7 +35,7 @@ public:
virtual ~ReadableStream() override; virtual ~ReadableStream() override;
bool locked() const; 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(); WebIDL::ExceptionOr<ReadableStreamReader> get_reader();
Optional<ReadableStreamController>& controller() { return m_controller; } Optional<ReadableStreamController>& controller() { return m_controller; }