mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
LibWeb: Remove exceptional return types from infallible stream IDL
This commit is contained in:
parent
572a7bb313
commit
2d4d16ac37
Notes:
sideshowbarker
2024-07-16 23:51:07 +09:00
Author: https://github.com/trflynn89
Commit: 2d4d16ac37
Pull-request: https://github.com/SerenityOS/serenity/pull/24165
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/shannonbooth ✅
15 changed files with 26 additions and 29 deletions
|
@ -20,7 +20,7 @@ class ByteLengthQueuingStrategy final : public Bindings::PlatformObject {
|
|||
JS_DECLARE_ALLOCATOR(ByteLengthQueuingStrategy);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ByteLengthQueuingStrategy>> construct_impl(JS::Realm&, QueuingStrategyInit const&);
|
||||
static JS::NonnullGCPtr<ByteLengthQueuingStrategy> construct_impl(JS::Realm&, QueuingStrategyInit const&);
|
||||
|
||||
virtual ~ByteLengthQueuingStrategy() override;
|
||||
|
||||
|
@ -32,7 +32,7 @@ public:
|
|||
return m_high_water_mark;
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<WebIDL::CallbackType>> size();
|
||||
JS::NonnullGCPtr<WebIDL::CallbackType> size();
|
||||
|
||||
private:
|
||||
explicit ByteLengthQueuingStrategy(JS::Realm&, double high_water_mark);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue