mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Script: removed a few opts::get()
This commit is contained in:
parent
57205318c5
commit
42569280e2
17 changed files with 238 additions and 45 deletions
|
@ -103,7 +103,7 @@ impl NavigatorMethods for Navigator {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-useragent
|
||||
fn UserAgent(&self) -> DOMString {
|
||||
navigatorinfo::UserAgent()
|
||||
navigatorinfo::UserAgent(self.global().get_user_agent())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-appversion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue