implements NavigatorLanguage

This commit is contained in:
Rahul Sharma 2016-03-15 20:25:23 +05:30
parent 37574065e0
commit facf59177c
7 changed files with 23 additions and 17 deletions

View file

@ -66,4 +66,9 @@ impl WorkerNavigatorMethods for WorkerNavigator {
fn AppVersion(&self) -> DOMString {
navigatorinfo::AppVersion()
}
// https://html.spec.whatwg.org/multipage/#navigatorlanguage
fn Language(&self) -> DOMString {
navigatorinfo::Language()
}
}