mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
LibWeb: Make navigator.languages an attribute instead of a function
This commit is contained in:
parent
1eac02c9a4
commit
bf2debdf53
Notes:
sideshowbarker
2024-07-17 05:59:13 +09:00
Author: https://github.com/Lubrsi
Commit: bf2debdf53
Pull-request: https://github.com/SerenityOS/serenity/pull/15566
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ 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
|
||||
sequence<DOMString> languages();
|
||||
readonly attribute sequence<DOMString> languages;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue