mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Implement size attribute of ByteLengthQueuingStrategy
Co-authored-by: Matthew Olsson <mattco@serenityos.org>
This commit is contained in:
parent
b2a51e86e5
commit
a975fca42e
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/shannonbooth
Commit: a975fca42e
Pull-request: https://github.com/SerenityOS/serenity/pull/19555
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/mattco98 ✅
5 changed files with 42 additions and 1 deletions
|
@ -123,6 +123,7 @@ public:
|
|||
CrossOriginPropertyDescriptorMap& cross_origin_property_descriptor_map() { return m_cross_origin_property_descriptor_map; }
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<WebIDL::CallbackType>> count_queuing_strategy_size_function();
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<WebIDL::CallbackType>> byte_length_queuing_strategy_size_function();
|
||||
|
||||
// JS API functions
|
||||
JS::NonnullGCPtr<WindowProxy> window() const;
|
||||
|
@ -246,6 +247,9 @@ private:
|
|||
|
||||
// https://streams.spec.whatwg.org/#count-queuing-strategy-size-function
|
||||
JS::GCPtr<WebIDL::CallbackType> m_count_queuing_strategy_size_function;
|
||||
|
||||
// https://streams.spec.whatwg.org/#byte-length-queuing-strategy-size-function
|
||||
JS::GCPtr<WebIDL::CallbackType> m_byte_length_queuing_strategy_size_function;
|
||||
};
|
||||
|
||||
void run_animation_frame_callbacks(DOM::Document&, double now);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue