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
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

@ -1,7 +1,6 @@
// https://html.spec.whatwg.org/multipage/system-state.html#navigatorlanguage
interface mixin NavigatorLanguage {
readonly attribute DOMString language;
// FIXME: readonly attribute FrozenArray<DOMString> languages;
// This is supposed to be a FrozenArray that always returns the same object
readonly attribute sequence<DOMString> languages;
// FIXME: This is supposed always return the same object
readonly attribute FrozenArray<DOMString> languages;
};