mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Convert trivial attributes to FrozenArray
This commit is contained in:
parent
62167d923c
commit
ad34fdad48
Notes:
github-actions[bot]
2025-04-25 14:44:52 +00:00
Author: https://github.com/trflynn89
Commit: ad34fdad48
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4473
Reviewed-by: https://github.com/gmta ✅
6 changed files with 10 additions and 17 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue