mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
implements NavigatorLanguage
This commit is contained in:
parent
37574065e0
commit
facf59177c
7 changed files with 23 additions and 17 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue