LibWeb: Make navigator.languages an attribute instead of a function

This commit is contained in:
Luke Wilde 2022-10-13 13:34:05 +01:00 committed by Linus Groh
parent 1eac02c9a4
commit bf2debdf53

View file

@ -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;
};