LibWeb: Convert trivial attributes to FrozenArray

This commit is contained in:
Timothy Flynn
2025-04-25 10:07:43 -04:00
committed by Jelle Raaijmakers
parent 62167d923c
commit ad34fdad48
Notes: github-actions[bot] 2025-04-25 14:44:52 +00:00
6 changed files with 10 additions and 17 deletions

View File

@@ -6,10 +6,7 @@
interface ResizeObserverEntry {
readonly attribute Element target;
readonly attribute DOMRectReadOnly contentRect;
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
[ImplementedAs=border_box_size_js_array] readonly attribute any borderBoxSize;
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
[ImplementedAs=content_box_size_js_array] readonly attribute any contentBoxSize;
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
[ImplementedAs=device_pixel_content_box_size_js_array] readonly attribute any devicePixelContentBoxSize;
readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize;
readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize;
readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize;
};