mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 23:05:08 +00:00

Get rid of the bespoke NavigatorObject class and use the modern IDL strategies for creating platform objects to re-implement Navigator and its associcated mixin interfaces. While we're here, implement it in a way that brings WorkerNavigator up to spec :^)
7 lines
343 B
Text
7 lines
343 B
Text
// 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
|
|
sequence<DOMString> languages();
|
|
};
|