mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
implements NavigatorLanguage
This commit is contained in:
parent
37574065e0
commit
facf59177c
7 changed files with 23 additions and 17 deletions
|
@ -43,3 +43,7 @@ pub fn UserAgent() -> DOMString {
|
|||
pub fn AppVersion() -> DOMString {
|
||||
DOMString::from("4.0")
|
||||
}
|
||||
|
||||
pub fn Language() -> DOMString {
|
||||
DOMString::from("en-US")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue