summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-10-13 13:34:05 +0100
committerLinus Groh <mail@linusgroh.de>2022-10-13 14:42:14 +0200
commitbf2debdf53fe8246f1b209c87e225a794516e767 (patch)
tree246bb0f3da11a41413347090529fe8a08480d9e3 /Userland
parent1eac02c9a47d20798fa7f8114a8051018fe34b3d (diff)
downloadserenity-bf2debdf53fe8246f1b209c87e225a794516e767.zip
LibWeb: Make navigator.languages an attribute instead of a function
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/HTML/NavigatorLanguage.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/NavigatorLanguage.idl b/Userland/Libraries/LibWeb/HTML/NavigatorLanguage.idl
index adc6a986f3..76992219be 100644
--- a/Userland/Libraries/LibWeb/HTML/NavigatorLanguage.idl
+++ b/Userland/Libraries/LibWeb/HTML/NavigatorLanguage.idl
@@ -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;
};